使用clang进行交叉编译

时间:2016-12-23 09:27:14

标签: android clang x86-64

我正在研究x86_64-pc-linux-gnu。我正在使用clang交叉编译器为目标aosp_x86_64生成可执行文件。

使用了命令

clang -target x86_64-unknown-unknown-linux-android hello.c  

结束时出现错误

/usr/bin/ld: cannot find crtbegin_dynamic.o: No such file or directory  
clang: error: linker command failed with exit code 1 (use -v to see invocation)  

我该怎么办?

0 个答案:

没有答案
相关问题