我试图编译铛和llvm使用clang getting started manual。但是,在步骤5中,当我做时,产生,我得到以下错误。任何想法这里发生了什么,以及如何解决它?请注意,我在64位x86系统上使用Ubuntu 10.04。无法建立LLVM和铛
cp: cannot stat `/home/MetallicPriest/Desktop/build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/libcompiler_rt.a': No such file or directory
make[4]: *** [/home/MetallicPriest/Desktop/build/Debug+Asserts/lib/clang/3.1/lib/linux/libclang_rt.full-x86_64.a] Error 1
rm /home/MetallicPriest/Desktop/build/Debug+Asserts/lib/clang/3.1/lib/linux/.dir
make[4]: Leaving directory `/home/MetallicPriest/Desktop/build/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory `/home/MetallicPriest/Desktop/build/tools/clang/runtime'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/MetallicPriest/Desktop/build/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/MetallicPriest/Desktop/build/tools'
make: *** [all] Error 1
## Heading ##
听起来像你忘了编译器-rt步骤? – Xeo 2012-02-07 14:07:31
不,我做了,我的编译器rt在我的llvm/projects目录中。 – MetallicPriest 2012-02-07 14:14:26
只是为了帮助分类问题,你能否尝试下载和构建发布的版本(如3.0)? – 2012-02-07 15:32:54