On Mon, 2006-12-18 at 10:58 +0300, Andrew Gaydenko wrote:
> Statux,
> 
> Thanks!
> 
> ======= On Monday 18 December 2006 02:44, Statux wrote: =======
> ...
> >If you want to use EM64T, it's amd64 and -march=nocona in the CFLAGS.
> 
> But If I don't want to use EMT64 but have CPU with EM64T (say, it is
> Pentium D) - am I forced to use 'amd64' artch? Or - can I use 'x86' with
> such 64-bit CPU? - all will work as "normal" 32-bit system, when
> '-march=prescott' is selected. Is it so? And as for, say, Pentium D 925,
> it has 'Presler' cores rather 'Prescott-2M' for Pentium4 630.

Quoted from the Gentoo Wiki:

Pentium D 8xx / 9xx
vendor_id : GenuineIntel
cpu family : 15
model  : 4
model name  : Intel(R) Pentium(R) D CPU x.xxGHz
cpu cores  : 2

Note: Because of the EM64T support, the Gentoo architecture for this
chip is amd64. Warning: With this processor mysql 5 is completely broken
using -march=amd64. Make sure you use -march=nocona. TODO: Could
somebody please check the 9xx cpuinfo is identical to the 8xx cpuinfo?
Append: my 9xx registers model 6 not model 4. It also has syscall
instead of pbe. It has constant_tsc and lahf_lm. It's missing est. 

Note: For those who don't need the Intel's 64-bit extension(EM64T), just
use the Pentium4(Prescott) flags with MAKEOPTS="-j3" which is on desktop
in most of the cases the better choice *and* use
CHOST="i686-pc-linux-gnu" (for a strictly 32-bit environment).

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

---

However, I had always been told to not use x86_64 (CHOST) unless it was
an Itanium. (Can anyone else add to this?).

EM64T should always use nocona in the CFLAGS for 64bit.

Anyway, make sure you pick the correct install/live cd during install.
x86 for 32bit and amd64 for 64bit (or even x86_64 if that will end up
being your CHOST but I'd stick with amd64 and not use anything x86_64,
personally, as you don't have an Itanium).

> Sorry for these question - I have tried to dig in the problem, but all
> silently suppose I must already know something :-)
> 
> 
> Andrew
-- 
Statux <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to