------- Additional Comments From ulyssesric at yahoo dot com dot tw  2005-05-31 
03:38 -------
Sorry, typo. Compile Procedure:

avr-gcc -mmcu=atmega128 -g -Os -Wall -Wa,-adhlns=test.lst -std=gnu99 
-funsigned-char 
-funsigned-bitfields -fpack-struct -fshort-enums -ffreestanding 
-Wl,-Map=test.map -Wl,--cref  test.c 
-o test.elf
avr-objcopy -O ihex -R .eeprom test.elf test.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" 
--change-section-lma .eeprom=0 
-O ihex test.elf test.eep
avr-objdump -h -S test.elf > test.lss
avr-nm -n test.elf > test.sym


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21834

Reply via email to