用于arm错误的LLVM交叉编译器

时间:2014-06-16 09:38:13

标签: compiler-construction llvm

我正在尝试构建LLVM,以便在笔记本电脑上交叉编译arm v7。

我正在使用http://llvm.org/docs/GettingStarted.html中的命令:

下载llvm,clang,然后使用以下标志配置llvm,然后构建。

.........................

../ llvm / configure -target armv7 - eabi

我收到以下错误。有什么想法有什么不对?谢谢


llvm[3]: ======= Finished Linking Debug+Asserts Unit test Utils
make[3]: Leaving directory `/home/user/Desktop/LLVM/llvm/arm_build/unittests/Transforms/Utils'
make[2]: Leaving directory `/home/user/Desktop/LLVM/llvm/arm_build/unittests/Transforms'
make[1]: Leaving directory `/home/user/Desktop/LLVM/llvm/arm_build/unittests'
make[1]: Entering directory `/home/user/Desktop/LLVM/llvm/arm_build/projects'
Makefile:44: Makefile.config: No such file or directory
Makefile:151: /Makefile.rules: No such file or directory
make[1]: *** No rule to make target `/Makefile.rules'.  Stop.
make[1]: Leaving directory `/home/user/Desktop/LLVM/llvm/arm_build/projects'
make: *** [all] Error 1
user@ubuntu:~/Desktop/LLVM/llvm/arm_build$ 
user@ubuntu:~/Desktop/LLVM/llvm/arm_build$  er.cpp for Debug+Asserts build
er.cpp for Debug+Asserts build
llvm[4]: Linking Debug+Asserts executable clang
er.cpp: command not found
user@ubuntu:~/Desktop/LLVM/llvm/arm_build$ llvm[4]: Linking Debug+Asserts executable clang
llvm[4]:: command not found
user@ubuntu:~/Desktop/LLVM/llvm/arm_build$ er.cpp for Debug+Asserts build
er.cpp: command not found
user@ubuntu:~/Desktop/LLVM/llvm/arm_build$ llvm[4]: Linking Debug+Asserts executable clang
llvm[4]:: command not found


----------

0 个答案:

没有答案