[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 32-bit uname with 64-bit kernel



Hi,

Cyril Brulebois wrote:
> Tuco <tuco.xyz@gmail.com> (05/08/2010):
> > I found this problem when running uname inside a 32-bit chroot,
> > 'uname -m' prints amd64!

That's correct IMHO:

       -m, --machine
              print the machine hardware name

> > This often breaks configure scripts and build systems.
> Relying on uname's output is buggy. People shouldn't do that.

In this case, yes, especially not on "uname -m". But this is no
generally valid statement.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


Reply to: