[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] About context saving in Vectors

From: Weddington, Eric
Subject: RE: [avr-gcc-list] About context saving in Vectors
Date: Wed, 14 Jan 2009 02:20:50 -0700


> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Lin Nan
> Sent: Wednesday, January 14, 2009 10:03 AM
> To: address@hidden
> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]