[cfe-dev] compiling C++ with clang++

Eric Christopher echristo at apple.com
Tue Mar 2 18:36:55 PST 2010


On Mar 2, 2010, at 6:35 PM, Rafael Espindola wrote:

>> are these the relevant paths?
>> 
>>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4
>>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4/x86_64-pc-linux-gnu
>>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4/backward
>>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include
>>  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include-fixed
>> 
>> How do I tell clang where these live?
> 
> Take a look at the configure options:
> 
> --with-c-include-dirs
> --with-cxx-include-root
> --with-cxx-include-arch
> --with-cxx-include-32bit-dir
> --with-cxx-include-64bit-dir

Are we trying to use these instead of updating InitHeaderSearch now?

-eric



More information about the cfe-dev mailing list