- 安装交叉编译器 i686-linux-gnu-gcc-10 (其他版本也可以)
- 编写hello world.c
-
使用编译器进行编译
image.png
-
复制文件到pc linux上面并运行测试
image.png
使用编译器进行编译
image.png
复制文件到pc linux上面并运行测试
image.png
本文标题:使用termux在安卓手机编写c语言,编译到linux elf
本文链接:https://www.haomeiwen.com/subject/bpexgrtx.html
网友评论