I m 试图汇编我的首个轴心ARM hello世界方案,当我复制并操作双向我的 target球板(Llinuxstamp Atmel arm 9g20) 我获得“法律指导”。
我正在从港口从SOS X上运行军机。 我正在使用Eclipse for and IDE。 它更像建筑一样,只靠非职业介绍方案,而代之以在轴心用户空间运行。 难道有人会把我指向正确的方向? 感谢。
法典:
#include<stdio.h>
int main(){
printf("hello world
");
return 0;
}
<><><>>>> 为项目“军备试验”建立配置**
make all
Building target: ArmTest.elf
Invoking: ARM Mac OS X GCC C Linker
/opt/local/bin/arm-elf-gcc-4.6 -nostartfiles -Wl,-Map,ArmTest.map -mcpu=arm920 -mthumb -o"ArmTest.elf" ./main.o
/opt/local/lib/gcc/arm-elf/4.6.0/../../../../arm-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008000
Finished building target: ArmTest.elf
Invoking: ARM Mac OS X GNU Create Flash Image /opt/local/bin/arm-elf-objcopy -O binary ArmTest.elf "ArmTest.hex" Finished building: ArmTest.hex
Invoking: ARM Mac OS X GNU Create Listing /opt/local/bin/arm-elf-objdump -h -S ArmTest.elf >"ArmTest.lst" Finished building: ArmTest.lst
Invoking: ARM Mac OS X GNU Print Size /opt/local/bin/arm-elf-size --format=berkeley ArmTest.elf text data bss dec hex filename 8112 2104 232 10448 28d0 ArmTest.elf Finished building: ArmTest.siz