On Fri, 4 Feb 2005, Damian Kolkowski wrote: > * Captain FantastiK <[EMAIL PROTECTED]> [2005-02-04 16:22]: > > CFLAGS="-O3 -march=pentium4 -mcpu=i686 -fomit-frame-pointer -pipe -ftracer" > > Use this instead: > -O2 -march=pentium4 -formit-frame-pointer > > Yours CFLAGS are wrong, You need to use onlu one (mcpu or marcg), the last one > are used.
I might be wrong but I believe that, in the case of mcpu and march, both are used. Therefore where -mcpu=pentium4 would generate code that is compatible with processors >= i386 -march=i686 -mcpu=pentium4 would generate code that works with all i686 compatible processors but also takes advantage of most pentium4 specific features. -- T.G. -- [email protected] mailing list
