编译libc+时出错+;在Ubuntu上使用Clang3.0

编译libc+时出错+;在Ubuntu上使用Clang3.0,clang,libc++,Clang,Libc++,当我试图用LLVM 3.0和Clang 3.0在我的Ubuntu12.04上编译libc++(libcxx)时,我得到了一个错误 + clang++ -c -g -Os -fPIC -std=c++0x -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wnewline-eof -Wpadded -Wmissing-prototypes -Wstrict-aliasing=2 -Wstrict-overflow=4 -nostdinc+

当我试图用LLVM 3.0和Clang 3.0在我的Ubuntu12.04上编译libc++(
libcxx
)时,我得到了一个错误

+ clang++ -c -g -Os -fPIC -std=c++0x -fstrict-aliasing -Wall -Wextra -Wshadow -Wconversion -Wnewline-eof -Wpadded -Wmissing-prototypes -Wstrict-aliasing=2 -Wstrict-overflow=4 -nostdinc++ -I../include ../src/stdexcept.cpp
../src/stdexcept.cpp:18:10: fatal error: 'cxxabi.h' file not found
#include <cxxabi.h>
         ^
1 error generated.

我最好的猜测是这些cxxabi.h中的任何一个都可以工作。std except.cpp唯一需要的是它是否与一起使用,这对于所有3个cxxabi.h都是错误的

/usr/include/c++/4.4/cxxabi.h
/usr/include/c++/4.6/cxxabi.h
/usr/include/c++/4.7/cxxabi.h