[cfe-dev] system includes

Andy Wick Andy.Wick at corp.aol.com
Mon Feb 15 05:21:28 PST 2010


Stupid question, if using g++ to compile clang would it be possible to
discover the system include just by looking at the ­v output?  We use non
standard locations.

g++ -v t.c
#include <...> search starts here:
 /opt/bcs/packages/gcc4-4.3.3/bin/../lib/gcc/i686-pc-linux-gnu/4.3.3/include
 /opt/bcs/packages/gcc4-4.3.3/bin/../lib/gcc/i686-pc-linux-gnu/4.3.3/include
-fixed
 /opt/bcs/packages/gcc4-4.3.3/bin/../lib/gcc/../../include/g++
 /opt/bcs/packages/gcc4-4.3.3/bin/../lib/gcc/../../include/g++/i686-pc-linux
-gnu
 /opt/bcs/packages/gcc4-4.3.3/bin/../lib/gcc/../../include/g++/backward
 /opt/bcs/include
 /opt/bcs/packages/gcc4-4.3.3/bin/../lib/gcc/../../include
 /usr/include
End of search list.

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


More information about the cfe-dev mailing list