View Single Post
Old 29th April 2004, 06:58   #18  |  Link
dandragonrage
Registered User
 
Join Date: Mar 2004
Posts: 14
-ffast-math is a little unfair.

Here are my CFLAGS: "-O3 -march=athlon-xp -mcpu=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-loop-opt -falign-functions=16 -falign-jumps=16 -falign-loops=16 -falign-labels=1 -finline-functions -pipe -mfpmath=sse,387 -fprefetch-loop-arrays -fmove-all-movables -ftracer -momit-leaf-frame-pointer"

If you wonder why I have march, mcpu, mmx, m3dnow and msse and all of the other redundant stuff, that is because some CFLAGS are stripped for some packages under Gentoo. march may be stripped but not mcpu, for example.


Edit to note that VS.net uses the same exact compiler. I have personally used it and can tell you that everything there is included. Also, from that page: "Microsoft C/C++ Optimizing Compiler and Linker. These are the same compiler and linker that ship with Visual Studio .NET 2003 Professional!"
__________________
XP box: A7N8X-Dx 1.04, Barton 2600+ @ 180FSB, 512MB Corsair XMS3500, Radeon 9500 Pro 128MB, 2xWD1200JD, Toshiba SD-M1612, Pioneer DVR-A05, Lite-On 24x10x40 CD-RW

Gentoo box: K7S5A, Palomino 2100+, 512MB PC133, GF256, WD800JB, Samsung 8x DVD-ROM

Last edited by dandragonrage; 29th April 2004 at 07:01.
dandragonrage is offline   Reply With Quote