[cfe-dev] [patch] Add configure option for C include search path

Chandler Carruth chandlerc at google.com
Wed Nov 11 22:10:51 PST 2009


On Wed, Nov 11, 2009 at 9:41 PM, Rafael Espindola <espindola at google.com> wrote:
>> However, this is a subset of the multilib problem we need solved
>> today. =/ I think it might be worth going this far (if no farther)
>> even before the general solution arrives. If you have a better
>> structure or approach to solve at least this much, I'm all ears. I
>> certainly agree this is far from simple or ideal.
>
> I think we can implement a compromise by supporting only one libstdc++
> via the configure line. In that way implementing a clang binary that
> works two darwin versions would require builtin targets, but we could
> use the configure option to build a binary that works with a libstdc++
> installed in a non standard directory.
>
> I am almost sure gcc only supports one libstdc++ installation (without
> reconfiguring that is).
>
> Would this be OK?

+1, sounds like a great compromise to me, and meshes well w/ the idea
of inserting a single custom "target" in the future distinct from any
of the builtin configurations.

-Chandler

>
>> -Chandler
>
> Cheers,
> --
> Rafael Ávila de Espíndola
>




More information about the cfe-dev mailing list