[XviD-devel] *Ouch!* compiler option with Makefiles

Edouard Gomez xvid-devel@xvid.org
Thu, 24 Oct 2002 19:33:29 +0200


Christoph Lampert (chl@math.uni-bonn.de) wrote:
> Hi,
> 
> I checked and in 6 Makefiles there is the optimization
> level   -Os   for optimize for size (which automatically
> activates -O2 for speed). 

> I guess Gomgom, you switched to -Os. Is the situation vice versa on your
> machine? 
 
I had neither speed loss nor speed gain, and a lkml thread showed that
-Os was giving better results for  the kernel... so i switched to -Os,
but if it results in a speed loss for other people... well sorry, i'll
switch them back to -O2 (or -O9  for the braves that do not fear sig11
;-)

-- 
Edouard Gomez