delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/29/20:53:44

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: Uname -m and arch
29 May 1997 20:53:44 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705292242.PAA00741.cygnus.gnu-win32@cirdan.cygnus.com>
Original-To: fabio AT joplin DOT colorado DOT edu (Fabio Somenzi)
Original-Cc: gnu-win32 AT cygnus DOT com, noer AT cygnus DOT 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 AT cygnus DOT 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 AT cygnus DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019