I'm not sure if this should go here or under the general AVR forum. Sorry if I got it wrong.
I'm having problems generating COFF using the binutils version 060523 from the AtmanAVR's GCC4.1-WINAVR distro. The problem is given below. Note that I must use COFF as my code size is significantly larger than 64K and the DWARF-2 format still doesn't support code of that size.
Converting to AVR Extended COFF: MainProcessorBoard.cof C:/WinAVR/bin/avr-objcopy --debugging --change-section-address .data-0x800000 --change-section-address .bss-0x800000 --change-section-address .noinit-0x800000 --change-section-address .eeprom-0x810000 -v -O coff-ext-avr MainProcessorBoard.elf MainProcessorBoard.cof copy from `MainProcessorBoard.elf' [elf32-avr] to `MainProcessorBoard.cof' [coff-ext-avr] int constant type not supported in coff-ext-avr make: *** [extcoff] Error 1
Any clues what this is telling me? How would I avoid using constant ints, as they show up regularly in the constants stored in program flash?
I'm almost there with the latest compiler and avrlib! The compiled code works, just need to be able to reliably debug it!