On Thu, Jul 03, 2003 at 06:28:33PM +1000, Eric Ball wrote:
> CFLAGS="-march=athlon-xp -O3 -pipe -mcpu=athlon-xp -m3dnow -mmmx -msse 
> -mfpmath=sse,387 -finline-functions -fmerge-all-constants -fthread-jumps 
> -fomit-frame-pointer -fexpensive-optimizations -ffast-math -fforce-addr 
> -falign-functions=64 -falign-jumps=4 -falign-loops=4 -frerun-cse-after-loop 
> -frerun-loop-opt -fprefetch-loop-arrays -maccumulate-outgoing-args"
> 
> Which contains some duplications but _seems_ to work perfectly. Note
> this will probably make people cry "Are you crazy and/or stupid!?" and
> developers will likely refuse to do troubleshooting on any problems
> you may have.

For your list of CFLAGS there, I'd advise you to read what the gcc
manpage has on them. Some of them are ok, but solely due the following
ones, I personally as a developer wouldn't support your bugs until you
recompiled without them.

-fmerge-all-constants - "using this option will result in non-conforming
behavior."

-fomit-frame-pointer - "It also makes debugging impossible on some
machines." (this is even in bold in the manpage)

-ffast-math - "it can result in incorrect output for programs which
depend on an exact implementation of IEEE or ISO rules/specifications
for math functions."

The most of the rest of your CFLAGS I would consider as fine, and just a
waste of your own time in compiling things (but hey, it is _your_ time
you are wasting).

-- 
Robin Hugh Johnson
E-Mail     : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to