Subject: Re: gcc options
To: None <port-i386@netbsd.org>
From: Dan Melomedman <dmelomed@devonitnet.com>
List: port-i386
Date: 10/22/2001 02:11:13
emanuel stiebler writes: 

> Hi,
> How to tell the gcc, that he should generate code for a pentium 3,
> instead of the default 386 ? 
> 
> cheers & thanks

If you're using ./configure to compile from a source tree:
export CFLAGS='-march=i686 -O3 -fomit-frame-pointer -fforce-addr' 

Note: -fomit-frame-pointer saver a register on i386 and up. 

-- 
Dan