On 9/11/05, Walter Dnes <[EMAIL PROTECTED]> wrote:
   2) The generic portion of CFLAGS consists of those flags that do not
begin with "-m".  For that part, use "-O2 -pipe -fomit-frame-pointer"

  Please, do *NOT* use "-O3" (or higher!!!) or try to unroll every last
loop or use every last exotic generic optimization.  Your programs will
*USUALLY* work, but they'll probably be flakier.  They may be faster, or
they may be slower.  However, people will point their fingers at you and
laugh.  Developers will ignore you when a program blows up and you file
a bug report.  The only exception is if a developer specifically OK's
special optimizations for specific modules or programs, and is willing
to support those modules or programs with extra optimization.  Things
may change in future versions of gcc, but the 3.4.x series works best
with the settings I've given.


It may be simpler to look at http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html for the cflags for the processor.

-Mike

--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation

Linux, because reboots are for installing hardware.
"In a world without walls and fences, who needs windows and gates?"

Reply via email to