编译是出现的错误
Rebuild target 'Target 1'
assembling S3C2440.s...
compiling led.c...
led.c(30): warning: #111-D: statement is unreachable
led.c(31): warning: #1-D: last line of file ends without a newline
linking...
led.axf: Warning: L6373W: libattrs.map file not found in System Library directory C:\Program Files\ARM\ADSv1_2\LIB\armlib\. Library selection may be impaired.
led.axf: Error: L6242E: Cannot link object __main.o as its attributes are incompatible with the image attributes.
led.axf: Error: L6242E: Cannot link object stkheap2.o as its attributes are incompatible with the image attributes.
led.axf: Error: L6242E: Cannot link object kernel.o as its attributes are incompatible with the image attributes.
led.axf: Error: L6242E: Cannot link object libspace.o as its attributes are incompatible with the image attributes.
led.axf: Error: L6242E: Cannot link object exit.o as its attributes are incompatible with the image attributes.
led.axf: Error: L6242E: Cannot link object lib_init.o as its attributes are incompatible with the image attributes.
led.axf: Error: L6242E: Cannot link object sys_exit.o as its attributes are incompatible with the image attributes.
led.axf: Error: L6242E: Cannot link object use_semi.o as its attributes are incompatible with the image attributes.
Target not created