|
我的应用程序使用这个命令编译的:arm-elf-gcc -Wl,-elf2flt -o HelloWorld HelloWorld.c
编译成功,拷贝倒我的"/home/hslcpf/skyeye-binary-testutils-1.0.7/at91/uclinux2/romfs/bin/"目录下
运行skyeye
(SkyEye) target sim
然后load(SkyEye) ./romfs/bin/HelloWorld
结果是这样的:gdbsim: "./romfs/bin/HelloWorld" is not an object file: File format not recognized
unable to load program
为什么啊?大侠们给我解释解释,怎么解决啊!
我用这个命令:(SkyEye) file ./romfs/bin/HelloWorld
结果是:"/home/hslcpf/skyeye-binary-testutils-1.0.7/at91/uclinux2/romfs/bin/HelloWorld": not in executable format: File format not recognized;
为什么不是可执行文件格式呢啊? :help :thank |
|