Subject: meaning of MACHINE/MACHINE_ARCH in bmake
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <email@example.com>
Date: 04/04/2004 15:29:46
what is the meaning of MACHINE and MACHINE_ARCH in bmake?
For NetBSD/i386 MACHINE is i386 (taken from /usr/include/machine/param.h
with cpp) and MACHINE_ARCH is also i386 (determined by "uname -p" in
On Solaris/x86 MACHINE is sunos5.i86pc and MACHINE_ARCH is i86pc (both
determined in machine.sh).
Is MACHINE_ARCH supposed to be constant on an operating system across
different machines if they use the same processor family (eg, x86 and
compatibles) ? Solaris seems to do this, as far as I know MACHINE_ARCH
is always "i86pc" (output of "arch" or "uname -m") independant of
specific CPU (Pentium, P II, P III, AMD...) and number of processors.