On Saturday 10 Nov 2007 00:30 in article <[EMAIL PROTECTED]>
of linux.gentoo.user, Stefan G. Weichinger([EMAIL PROTECTED]) wrote:

> Greets, I recently bought a new CPU for my mythtv-box, it's a Pentium
> Dual E2160 ....
> 
> Currently I use
> 
> CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
> 
> as I moved the system over from a Pentium 4 (which just crashed).

You need to consider CHOST as well, to ensure you make the most of the
newer CPUs.

Here is what I use on an E6600 machine:

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse,387 -O2 
-pipe"

Note that -fomit-frame-pointer is not applicable on AMD64/EM64T hardware
platforms; it will be silently ignored by GCC. Most of the additional
processor features I have specified (MMX, SSE/2/3, 3DNow!) are actually
implied by the -march=nocona, but I specify as a mnemonic to myself
that these are [potentially] in use on this box.

If you simply restored from a Pentium 4 system you will need to take the
steps to change the CHOST. This is documented on the Gentoo web site.
-- 
Regards

Dave  [RLU#314465]
======================================================
[EMAIL PROTECTED] (David W Noon)
======================================================


-- 
[EMAIL PROTECTED] mailing list

Reply via email to