Optimizing software

Bruce Dubbs bdubbs at swbell.net
Sun Aug 18 18:28:00 PDT 2002

Richard Jenniss wrote:

>For those speed freaks, who compile their own software.
>I've come up with a nice little hack to optimize your software without having to set CFLAGS or CXFLAGS.
>First move gcc to gcc.old
>Bash# mv gcc gcc.orig
>Then create a new bash script called gcc
>gcc.orig -O3 -march=pentium3 `echo $@ | sed "s/-O2//g" | sed "s/-march=i686//g"`

Looks like a nice way to set certain options, but I would be careful. 
 Some packages just don't like high levels of optimization.
  -- Bruce

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list