[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uname -m
Re: uname -m
Fri, 24 May 2002 12:26:15 +0200
On Mon, May 20, 2002 at 08:12:39PM -0400, Roland McGrath wrote:
> The utsname.machine string is chosen in proc/host.c:initialize_version_info.
> Mach's host_basic_info gives you integers for "CPU type" and "CPU subtype",
> with constants defined in <mach/machine.h>. Our file proc/cpu-types.c
> gives string names to these, and we use "type-subtype" as the
> utsname.machine string. The meanings of the existing "subtype" values
> differ amohng the different CPUs: some are actual chip variants, while some
> refer to system IO architecture. All those values were chosen a very long
> time ago at CMU and don't necessarily mean a whole lot useful now.
> It would be fine to change how we decide what to put in utsname.machine.
Change it if you feel it should be, but consider some Makefiles out there
are currently reliying on uname -m for their filenaming conventions
(see any Jorg Schilling program for example, now being ported)
"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"
Andrew S. Tanenbaum, 30 Jan 1992
- uname -m, Marcus Brinkmann, 2002/05/20
- Re: uname -m, Roland McGrath, 2002/05/20
- Re: uname -m,
Robert Millan <=