For optimizing your compiled apps, there are a lot of options:

-O3
-march=ARCH
-mcpu=ARCH

but there are many else. Make man gcc and go to the Optimization Options
section. For enabling them just put them on the command line at compile
time.

If you want to modify an existing makefile, you can set the CFLAGS and
the CPPFLAGS environment variables. If you use bash, this can be done
with 
export CFLAGS="-option1 -option2 ..."

Hope this helps 

Benoit 

On Fri, Aug 09, 2002 at 10:36:48PM, 1stFlight wrote:
>   Awhile back I found some options for optimizing programs on a i686 (Athlon) 
> processor during compile..something along the lines of - O3 -mpcu -march  do 
> things options (environment settings I believe) ring a bell to anyone, and if 
> so how do I impliement them? Thanks!
> 
>                                                                                      
>                                         Darryl
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
---end quoted text---

-- 

Benoit JOSEPH 
Manex SPRL: [EMAIL PROTECTED]
Perso: [EMAIL PROTECTED]
       [EMAIL PROTECTED]

Attachment: msg01352/pgp00000.pgp
Description: PGP signature

Reply via email to