Squeak on MacOS version identification?
Bert Freudenberg
bert at isg.cs.uni-magdeburg.de
Wed Aug 20 18:39:43 UTC 2003
Tim Rowledge wrote:
> -1001 - basic OS type: "unix", "win32", "mac",...
> -1002 - specific OS type: "solaris2.5" on unix, "win95" on win32,...
> -1003 - processor architecture: "68k", "x86", "PowerPC",...
>
> So to meet this requirement the Mac ought to be returning Mac OS 8.60
> Acorn return RiscOS 4.15 (or whatever) and it looks like Windows returns
> '95'' or 'NT'. Unix returns something derived from a scary looking bit
> of sed in the makefile/autoconf code and on my RH 7.1 machine it
> actually gives 'linux-gnu' which doesn't seem to quite match that spec.
Well, it's as specific as the config.guess script allows. What would you
prefer? Append a kernel version a la "uname -r"? Glibc version? Distro
name?
-- Bert
More information about the Squeak-dev
mailing list
|