byx8848320105
deepin
2019-09-03 16:15 虽然我不懂源码,但是我期待方舟编译器的应用。为国产系统及应用加油。
Reply Like 0 View the author
user@user-PC:~/OpenArkCompiler/tools/llvm$ cmake ~/Downloads/llvm-8.0.0.src
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/user/Downloads/llvm-8.0.0.src/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c3a7f/fast"
/usr/bin/make -f CMakeFiles/cmTC_c3a7f.dir/build.make
CMakeFiles/cmTC_c3a7f.dir/build
make[1]:
进入目录“/home/user/Downloads/llvm-8.0.0.src/CMakeFiles/CMakeTmp”
Building C object CMakeFiles/cmTC_c3a7f.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_c3a7f.dir/testCCompiler.c.o -c
/home/user/Downloads/llvm-8.0.0.src/CMakeFiles/CMakeTmp/testCCompiler.c
cc: error trying to exec 'as': execvp: 没有那个文件或目录
make[1]: ***
[CMakeFiles/cmTC_c3a7f.dir/build.make:66:CMakeFiles/cmTC_c3a7f.dir/testCCompiler.c.o]
错误 1
make[1]:
离开目录“/home/user/Downloads/llvm-8.0.0.src/CMakeFiles/CMakeTmp”
make: *** [Makefile:126:cmTC_c3a7f/fast] 错误 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:39 (project)
-- Configuring incomplete, errors occurred!
See also "/home/user/Downloads/llvm-8.0.0.src/CMakeFiles/CMakeOutput.log".
See also "/home/user/Downloads/llvm-8.0.0.src/CMakeFiles/CMakeError.log".
https://bbs.deepin.org/post/182364
as?似乎是binutils里面的东西?
https://bbs.deepin.org/post/182364
在deepin上编译llvm失败
https://bbs.deepin.org/post/182364
请问为何要编译llvm?clang的发布包没有deepin能用的吗?
https://bbs.deepin.org/post/182364
sudo apt-get -y install openjdk-8-jdk git-core gnupg flex bison gperf build-essential zip curl zlib1 ...
https://bbs.deepin.org/post/182364
我没有安装linux-libc-dev:i386,尝试了各种姿势,感觉这个包似乎和linux-libc-dev冲突,估计是包信息有 ...
https://bbs.deepin.org/post/182364
印象里看到过报告(其他平台)说可以不安装。
deepin不能用ubuntu的pre-built包吗?如 http://releases.l ...
https://bbs.deepin.org/post/182364
没什么用,目前也只能编译部分简单的函数,连一些简单的java应用都编译不了,更不用说安卓app及安卓系统应 ...
https://bbs.deepin.org/post/182364
啥叫能编译部分简单的函数?
我什么都编译不了。。
https://bbs.deepin.org/post/182364
在suse编的。
知乎有教程
但是没有意义。
https://bbs.deepin.org/post/182364
suse编译的教程可否给个链接?我好加到顶楼的列表里。
Popular Events
More