On Fri, 26-Jul-2002 at 06:07:11AM -0500, tclug-list-request at mn-linux.org wrote:

> I've had fun with it too. Has anyone seen a nice summary of the sorts of
> compiler optimizations that people are using with Gentoo? I'm not a C
> hacker so I don't understand all the various gcc options.
> 
> Right now I've got mine set as:
> 
>  Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon exclusive
>  (binaries
>  # will use the P6 instruction set and only run on P6+ systems)
>  CHOST="i686-pc-linux-gnu"
>  CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
>  CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
> 
> I think these are fairly conservative.

Not terribly helpful, but you can set -O to -O6.  Last I checked, gcc
doesn't get more than -02 optimizing anyway, but will go to maximum of
which it is capable.

Phil

-- 
www.rephil.org / University of Minnesota

"To misattribute a quote is unforgivable" -- Anoymous