View Single Post
Old 06-18-2007, 11:03 AM   #5
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Well for compiling a release i use the following flags:

-pipe
-Wall (warn all)
-fmessage-length=0 ( don't wrap gcc msgs)
-march=i686
-mmmx ( I modified the math portions in q_shared and the q_math stuff to allow for mmx/sse/sse2 optimizations when compiling the server, cgame, and ui)
-fexpensive-optimizations
I rotate between using -O2 and -O3
-static (not required for you, it just puts glibc as static library instead of shared lib loading)
-fno-strict-aliasing
-rdynamic
-m32 (Link flag and cpp flag)


iojamp project lead / coder

Last edited by ensiform; 06-18-2007 at 11:48 AM.
ensiform is offline   you may: quote & reply,