[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:[avr-gcc-list] Diffenrces betwwen Volkers and Gunnars distribution
From: |
Peter Fleury |
Subject: |
Re:[avr-gcc-list] Diffenrces betwwen Volkers and Gunnars distribution |
Date: |
Sat Feb 3 11:33:04 2001 |
The difference between Volker's distribution (based on avr-gcc 2.95-2)
and Gunnars (based on avr-gcc 2.97) are mainly the followings:
1) different function call convention:
If you have written modules in ASM which need to be called by
avr-gcc C-modules, the ASM modules must be adapted
( single byte parameter now passed using r24, r22 .. )
2) bug with avr-objcopy with eeprom section
avr-objcopy incorrectly add the eeprom section to both the rom and the
AVR Studio obj file.
Workaround: add -R .eeprom to both the .rom and .obj target
avr-gcc incorrectly adds an offset to the eeprom section
Workaround: add --change-section-lma .eeprom=0 to the .eep target.
3) Several reported bugs with flag -O3:
strlen() built-in line reports wrong result
Workaround: use -O2 or -Os
Peter Fleury address@hidden http://jump.to/fleury
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re:[avr-gcc-list] Diffenrces betwwen Volkers and Gunnars distribution,
Peter Fleury <=