arm裸机通过uboot运行hello world程序测试结果

开发板EasyARM i.MX280A

  CPU:arm926ejs 

helloworld程序使用的编译器

(1)arm-fsl-linux-gnueabi-gcc  version gcc4.4.4 glibc2.11

(2)arm-linaro-linux-gnueabihf-gcc version gcc4.7.3 gblic2.19

(3)arm-none-linux-gnueabi-gcc version gcc4.4.4 glibc2.18

helloworld程序的编译方式简单uboot下可执行程序编写笔记

uboot使用的编译器arm-none-linux-gnueabi-gcc

结果:

使用1、3正常打印输出

使用2卡主不能运行,使用ctrl+c也不能abort。

总结:

库文件有问题

不同编译器运行机制也有问题(裸跑反应的)

少壮不识cpp,老大方知cpp可怕
原文地址:https://www.cnblogs.com/Jacket-K/p/7444580.html