bug-hurd
[Top][All Lists]
Advanced

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

Re: uname -m


From: Robert Millan
Subject: Re: uname -m
Date: Fri, 24 May 2002 12:26:15 +0200
User-agent: Mutt/1.3.28i

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)

cheers,

-- 
Robert Millan

"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"

              Andrew S. Tanenbaum, 30 Jan 1992



reply via email to

[Prev in Thread] Current Thread [Next in Thread]