On Samstag, 1. September 2007, Walter Dnes wrote: > On Wed, Aug 29, 2007 at 09:43:35PM -0400, Statux wrote > > > CFLAGS="-march=prescott -O2 -pipe" > > CHOST="i686-pc-linux-gnu" > > > > which is what I use on my 531 Prescott (the pni cpuflag indicates > > Prescott or compatible) > > Thanks. I don't know if I'm reading the gcc docs too literally, but > the commentary on "-mfpmath=sse" indicates that mmx/sse/sse/sse3 flags > must be explicitly stated for "-mfpmath=sse" to take effect on a 32-bit > system (sse is the default on 64-bit systems). So I explicitly included > the flags. I also included -fomit-frame-pointer, resulting in... > > CFLAGS="-O2 -march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse > -fomit-frame-pointer -pipe"
mmx, sse,sse2,sse3 is already set by prescott (if man gcc can be trusted but it should not hurt to set them) but mfpmath can result in subtile breakage. fomit-frame-pointer is ok, O2 too. CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" is much safer. -- [EMAIL PROTECTED] mailing list

