[cfe-dev] system includes

Andy Wick Andy.Wick at corp.aol.com
Mon Feb 15 14:27:55 PST 2010

I totally missed the --with-c-include-dirs= option, that does what I need.


On 2/15/10 4:05 PM, "Rafael Espindola" <espindola at google.com> wrote:

> On 15 February 2010 15:45, Diego Iastrubni <diegoiast at gmail.com> wrote:
>> > So you want to lock the directories to the directories of the compiler
>> which
>> > bootstrapped clang? Not smart, what happens when you change gcc compiler on
>> > your system? clang will fail.
>> >
>> > IMHO, the best solution would be to find it on "standard" paths... maybe >>
>> > a "--gcc-include-path" parameter or something. What do you think?
> Clang's configure (llvm's actually) script already has options to use
> a particular include directory for C or C++. A --copy-gcc=/usr/bin/gcc
> would be an extra convenience for those that just want to build clang
> to work as a system compiler.
> Cheers,
> --
> Rafael Ávila de Espíndola

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100215/2e568c85/attachment.html>

More information about the cfe-dev mailing list