Informations about gcc optimization

Ken Moffat ken at kenmoffat.uklinux.net
Sat Oct 12 17:04:37 PDT 2002


On Fri, 11 Oct 2002, Tushar T wrote:

> Yep, it would be better to use -O2 on the core packages. Also 
> -fomit-frame-pointer is supposed to be good. I would also suggest a -w 
> unless you like seeing all the warnings. Also check out the gcc install 
> file, it gives you flags to optimize gcc compilation. I have been using 
> those without problems. BTW, never never optimize binutils.

Never ? Both -O2 and -Os have always worked fine for me on a K6. Or do
you mean "don't use exotic optimisations" (I remember you have tried a
lot more with these than I've ever bothered with.)

Ken
-- 
 Out of the darkness a voice spake unto me, saying "smile, things could be
worse". So I smiled, and lo, things became worse.



-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list