> -----Original Message-----
> From: 
> [email protected] 
> [mailto:avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu.
> org] On Behalf Of Lin Nan
> Sent: Wednesday, January 14, 2009 10:03 AM
> To: [email protected]
> Subject: [avr-gcc-list] About context saving in Vectors
> 
> Hi all, 
> 
>  
> 
> I have been focused on a problem for three days. 
> 
>  
> 
> My program does not work if compiled with -Os in Ubuntu Linux 
> 8.10 (Avr Gcc 4.3.0), but works if compiled with -Os in 
> Windows+WinAVR(20080512).


Version 4.3.0 of AVR GCC has known code generation problems that were fixed 
with patches in WinAVR. My guess is that the Ubuntu distro of AVR GCC is not 
built with these patches. You need to either build AVR GCC with those patches, 
or use version 4.3.2 where these code gen bugs are fixed.


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to