Ludovic Courtès wrote:

> 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'.

What does uname -a say?

If you're running a 32-bit kernel, then it's an i686-linux system, even if the
CPU is 64-bit capable.  This is a correct determination since you won't be able
to run 64-bit programs.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to