OLD | NEW |
(Empty) | |
| 1 Clang looks for the presence of crtbegin.o to decide whether to add GCC standard |
| 2 C++ library directories to the system header lookup path. |
| 3 |
| 4 The presence of usr/lib/gcc/x86_64-linux-gnu/4.6/crtbegin.o and |
| 5 usr/include/c++/4.6 inside this sysroot will cause clang to add the following |
| 6 directories to the path: |
| 7 - $SYSROOT/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6 |
| 8 - $SYSROOT/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/x86_64-linux-g
nu/c++/4.6 |
| 9 - $SYSROOT/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/x86_64-unknown
-linux-gnu/c++/4.6 |
| 10 - $SYSROOT/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/backwa
rd |
| 11 |
| 12 As well as the standard paths: |
| 13 - $SYSROOT/usr/local/include |
| 14 - $SYSROOT/include |
| 15 - $SYSROOT/usr/include |
| 16 |
| 17 See clang's lib/Driver/ToolChains.cpp: |
| 18 - FilterNonExistent: checks for crtbegin.o |
| 19 - Linux::AddClangCXXStdlibIncludeArgs: looks for various c++ directories |
OLD | NEW |