What are you trying to do? :-)
Nico
thakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$ echo
'#include <cxxabi.h>' >
test.ccthakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang --verbose -c
test.ccclang version 3.1 (trunk 142664)Target:
x86_64-unknown-linux-gnuThread model: posix
"/usr/local/google/chrome/src/third_party/llvm-build/Release+Asserts/bin/clang"
-cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all
-disable-free -main-file-name test.cc -mrelocation-model static
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu x86-64 -target-linker-version 2.20.1
-momit-leaf-frame-pointer -v -coverage-file test.o -resource-dir
/usr/local/google/chrome/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.1
-fmodule-cache-path /var/tmp/clang-module-cache -fdeprecated-macro
-fdebug-compilation-dir /usr/local/google/chrome/src -ferror-limit 19
-fmessage-length 205 -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o test.o
-x c++ test.ccclang -cc1 version 3.1 based upon llvm 3.1svn hosted on
x86_64-unknown-linux-gnuignoring nonexistent directory (long list)
ignoring duplicate directory (long list)
#include "..." search starts here:
#include <...> search starts here: /usr/include/c++/4.4
/usr/include/c++/4.4/backward /usr/include/c++/4.4/x86_64-linux-gnu/
/usr/local/include
/usr/local/google/chrome/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.1/include
/usr/includeEnd of search list.
I don't have xmmintr.h below /usr/include on my system – it's in
/usr/lib/gcc. It sounds like you might have your gcc and libstd
include paths mixed up somehow?
Yes, but cxxabi.h is in /usr/lib/c++, right? So don't add /usr/lib/gcc
to your search path.
I don't know how the gentoo directory layout looks, but they will
probably put libstdc++ headers in a different directory than the gcc
internal compiler headers. Only add the former to your search path. On
my ubuntu box, this works out of the box.