【ndk】直接使用ndk提供的arm-linux-androideabi-gcc编译android可执行程序

一、背景 常常使用linux交叉工具类的朋友都知道,在已安装交叉编译工具链后要交叉编译获得linux可执行文件只须要运行以下相似的命令(如编译hello.c生成hello可执行文件):html arm-linux-gcc hello.c -o hellohello.c的代码很是简单,完整的代码以下: #include <stdio.h> int main() { printf("hello,
相关文章
相关标签/搜索