Subject: clarification between machine_arch and machine
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 01/27/2002 10:15:27
Currently uname states:
-m print the machine hardware name. $MACHINE
-p print the machine processor architecture name. $MACHINE_ARCH
In most platforms they are the same right now, but I think that should be
fixed.
On solaris -m reports sun4, sun4c, sun4m, sun4d, sun4u and -p reports sparc.
We report sparc always.
The problem is that our make uses machine instead of machine_arch to
determine what to build for.
What is TRT to do?
BTW this change should be propagated to the i386 for example and have -m
report i386, i486, i586, i686... and -p be i386...
christos