[Nix-dev] CPU type misdetection

Ludovic Courtès ludo at gnu.org
Tue Jan 27 14:42:10 CET 2009


Hello,

Recently, I was told that the `lm' flag (for "long mode") in
/proc/cpuinfo roughly means "x86-64".  My laptop has an Intel Core 2
Duo, which has this flags, and really is "x86-64".  However, to Nix, my
system is `i686-linux' although it could/should be `x86_64-linux'.

Consequently, GNU `config.guess' returns `i686-pc-linux-gnu' because I
only have an i686 tool chain.

I'm not sure where the initial misconfiguration occurred, but it looks
like there's room for improvement here.  Ideas?

Thanks,
Ludo'.




More information about the nix-dev mailing list