On 5/23/05, Zaid Amireh <[EMAIL PROTECTED]> wrote:
> hey gurus,
> 
> anyone did apache from source and played with CFLAGS and LDFLAGS, I
> have a deep urge to go extreme with those but Im concerned about
> stability so I came up with this
> 
> `-Wl,-O1 -Wl,-z,now  -mcpu=i686 -mmmx -msse -O2 -pipe
> -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-loop-opt
> -frerun-cse-after-loop -falign-functions=4 -ftracer
> -fprefetch-loop-arrays -finline-limit=600 -mfpmath=387`
> 
> 
> comments please.
> 
> --
> ---------------------------
> Netiquette -> http://www.dtcc.edu/cs/rfc1855.html
> http://tumbak.at.preempted.net
> ---------------------------
> 

update
the above was too unstable, here is the juice stuff

CC="gcc" LDFLAGS="-s" CFLAGS="-march=i686 -mcpu=pentium4" OPTIM="\
          -fforce-mem \
          -foptimize-sibling-calls \
          -fstrength-reduce \
          -fcse-follow-jumps  -fcse-skip-blocks \
          -frerun-cse-after-loop  -frerun-loop-opt \
          -fgcse   -fgcse-lm   -fgcse-sm \
          -fdelete-null-pointer-checks \
          -fexpensive-optimizations \
          -fregmove \
          -fschedule-insns  -fschedule-insns2 \
          -fsched-interblock -fsched-spec \
          -fcaller-saves \
          -fpeephole2 \
          -freorder-functions \
          -fstrict-aliasing"


or 

CC="gcc" LDFLAGS="-s" CFLAGS="-march=i686 -mcpu=pentium4" OPTIM="-Os"

for the people who don't like to type much, hehehehe.
cheers

-- 
---------------------------
Netiquette -> http://www.dtcc.edu/cs/rfc1855.html
http://tumbak.at.preempted.net
---------------------------

_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org

Reply via email to