I use Atmel newest gcc (gcc version 4.4.3 (AVR_Toolchain_3.0_149), seems to be stable now, because IÄ…ve downloaded it from normal Atmel webpage, not as beta download. I use the newest AVR Studio with latest SP3. The problem is that when I compile my program on ATMega8 and try to simulate it in AVR Studio simulator) I've got the following errors:
The contents of the objectfile exceeds the maximum program memory of the device Error loading object file C:\idom\repos\RS485-USBConverterFirmware\default\RS485-USBConverterFirmware.elf
On WinAVR everything is ok. My program uses less than 30% of FLASH and SRAM memory.