From: noer@cygnus.com (Geoffrey Noer)
Subject: Re: Uname -m and arch
29 May 1997 20:53:44 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199705292242.PAA00741.cygnus.gnu-win32@cirdan.cygnus.com>
Content-Type: text
Original-To: fabio@joplin.colorado.edu (Fabio Somenzi)
Original-Cc: gnu-win32@cygnus.com, noer@cygnus.com (Geoffrey Noer)
In-Reply-To: <199612160553.WAA10796@joplin.colorado.edu> from "Fabio Somenzi" at Dec 15, 96 10:53:28 pm
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32@cygnus.com

Fabio Somenzi wrote:
[...]
> When I type "uname -m" on my Pentium 120 running Win95, I get:
>   i6395286
> Under Linux, I would get i586. Is this as it should be? If so, what is
> the meaning of 6395286?

Either you have an Intel i6395286 chip in your machine or you're running
into a cygwin.dll bug.  I have a hunch as to which is more likely.  :-)

What's happening is that uname() isn't setting the processor level
correctly.  uname() gets some of its info using the SYSTEM_INFO struct.
This structure has various members many of which aren't supported under
both Windows 95 and NT.  :-(  I've fixed the development sources so uname
will behave better under Windows 95 in future releases.

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
