1 |
On 9/11/05, Walter Dnes <waltdnes@××××××××.org> wrote: |
2 |
> |
3 |
> 2) The generic portion of CFLAGS consists of those flags that do not |
4 |
> begin with "-m". For that part, use "-O2 -pipe -fomit-frame-pointer" |
5 |
> |
6 |
> Please, do *NOT* use "-O3" (or higher!!!) or try to unroll every last |
7 |
> loop or use every last exotic generic optimization. Your programs will |
8 |
> *USUALLY* work, but they'll probably be flakier. They may be faster, or |
9 |
> they may be slower. However, people will point their fingers at you and |
10 |
> laugh. Developers will ignore you when a program blows up and you file |
11 |
> a bug report. The only exception is if a developer specifically OK's |
12 |
> special optimizations for specific modules or programs, and is willing |
13 |
> to support those modules or programs with extra optimization. Things |
14 |
> may change in future versions of gcc, but the 3.4.x series works best |
15 |
> with the settings I've given. |
16 |
> |
17 |
> |
18 |
It may be simpler to look at |
19 |
http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html for the cflags for |
20 |
the processor. |
21 |
|
22 |
-Mike |
23 |
|
24 |
-- |
25 |
________________________________ |
26 |
Michael E. Crute |
27 |
Software Developer |
28 |
SoftGroup Development Corporation |
29 |
|
30 |
Linux, because reboots are for installing hardware. |
31 |
"In a world without walls and fences, who needs windows and gates?" |