1. 解压交叉编译工具链arm-himix200-linux
tar -zxvf arm-himix200-linux.tgz
cd arm-himix200-linux
2. 进入root模式,安装交叉编译工具链
su root
source ./arm-himix200-linux.install
source /etc/profile
reboot
3. 使用ftp传输编译好的文件到开发版,注意传输的文件名以.out结尾,不然后段错误
#include <stdio.h>
int main()
{
printf("hello world!\n");
return 0;
}
arm-himix200-linux-gcc -o hello.out hello.c
参考:
https://blog.csdn.net/weixin_49083782/article/details/109712174
https://wenku.baidu.com/view/bad8f425bdd5b9f3f90f76c66137ee06eff94eb6.html
标签:编译,虚拟机,交叉,arm,himix200,linux,hello From: https://www.cnblogs.com/d442130165/p/16635714.html