avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] Why EthNut2.4.2 should use -Os instead of -O3?


From: Hudaidai
Subject: [avr-gcc-list] Why EthNut2.4.2 should use -Os instead of -O3?
Date: Thu, 29 Aug 2002 10:38:49 +0800

I am a newbie to this maillist.  But I have used AVRGCC for 2 years and maybe 
it is not too late to find the maillist now.

I read some letters before, thank you for your great work and kind help to 
everyone.

I used Harald Kipp's EthNut2.4.2 in my project several weeks ago. It works very 
fine now. I'd found that the compiling option is changed from -O3 to -Os in 
verion 2.4.2, I didn't know why(and I didn't change it).  A letter from Harald 
Kipp in July archives was noticed yesterday.  It said:

>However, I switched from -o3 to -os, because level 3
>tries to inline nearly every local function, which
>probably breaks the multithreading support (stolen
>from the Liquorice project).

I can't understand it very well.  Would someone explain it to me more clearly?


        Hudaidai
address@hidden
          2002-08-29




avr-gcc-list at http://avr1.org



reply via email to

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