Well for compiling a release i use the following flags:
-Wall (warn all)
-fmessage-length=0 ( don't wrap gcc msgs)
-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)
I rotate between using -O2 and -O3
-static (not required for you, it just puts glibc as static library instead of shared lib loading)
-m32 (Link flag and cpp flag)
Last edited by ensiform; 06-18-2007 at 11:48 AM.