Subject: Re: Correct Compiler Flags for my Computer
From: Kurt Wall
Date: Mon, 26 May 2003 09:30:52 -0400
To: [email protected]

An unnamed Administration source, James McDonald, wrote:
% People,
% 
% I have a Pentium III 600 with 512MB RAM running mdk9.1.
% 
% I have been compiling and installing stuff using the compiler flags in 
% douglas's mozilla from source sxs namely |'-O3 -march=i686 -mcpu=i686' ?

In most cases, "-O2" is preferable and will certainly speed up the 
compilation. Using "-march=i686" implies "-mcpu=i686", so you don't 
have to use "-mcpu=i686" if you specify "-march=i686". Depending on your 
compiler version, you can use "-march=pentium3" instead of "-march=i686".
Other optimization options you can use for the Pentium III include 
"-mfpmath=sse", "-msse", "-msse2", and "-mmmx".

Kurt
-- Those who in quarrels interpose, must often wipe a bloody nose. _______________________________________________ Linux-users mailing list [email protected] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users