0
点赞
收藏
分享

微信扫一扫

移植可执行文件到arm开发板

phpworkerman 2022-01-22 阅读 71

1.虚拟机上编写文件
2.交叉编译,注意加上static(静态编译)!!!
arm-linux-gnueahibf -static APP.c -o APP
3.移植程序
4.添加可执行权限sudo chmod 777 APP
5.运行程序./APP

举报

相关推荐

0 条评论