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

Eric Christopher echristo at apple.com
Tue Mar 2 18:35:57 PST 2010


On Mar 2, 2010, at 6:25 PM, Salman Pervez 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
> 

Yep.

> How do I tell clang where these live?

Think this should work.  Can you apply this and see if it works for you? If not, please run with -v and tell me where clang is looking :)

-eric

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gentoo.diff.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100302/1e5a944d/attachment.txt>


More information about the cfe-dev mailing list