Correct Compiler Flags for my Computer
James McDonald
james
Mon May 17 11:47:49 PDT 2004
Kurt Wall wrote:
>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
>
Thanks Kurt this is going into my 'keep for future reference' section
More information about the Linux-users
mailing list