delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/01/03:59:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 1 Mar 2011 09:59:23 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Windows OS and uname; compatability
Message-ID: <20110301085923.GA17261@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4D6BD226 DOT 5080909 AT bonhard DOT uklinux DOT net>
MIME-Version: 1.0
In-Reply-To: <4D6BD226.5080909@bonhard.uklinux.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Feb 28 16:49, Fergus wrote:
> Thanks to a previous responder I now know that in response to uname:

  NT-4.0 = NT4

> NT-5.0 = W2000
> NT-5.1 = XP

  NT-5.2 = Windows 2003 as well as 64 bit XP

> NT-6.0 = Vista
> NT-6.1 = W7
> 
> Q1 Can anybody please tell me the corresponding information for W98?

There won't be any in 1.7 since it won't run.

In 1.5:

  "95-4.0"
  "98-4.10"
  "ME-4.90"

> Q2 Are there ways of distinguishing between XP / XP-64, Vista /
> Vista-64, W7 / W7-64 using uname in Cygwin (or anything else)?

XP/32 $ uname -s
CYGWIN_NT-5.1

XP/64 $ uname -s
CYGWIN_NT-5.2-WOW64

2003/32 $ uname -s
CYGWIN_NT-5.2

2003/64 $ uname -s
CYGWIN_NT-5.2-WOW64	<-- There's no way to distinguish XP/2003 64 bit
                            by using uname.  Use Chuck's csih helper
			    /usr/lib/csih/winProductName.exe

Vista/32 $ uname -s
CYGWIN_NT-6.0

Vista/64 $ uname -s
CYGWIN_NT-6.0-WOW64

W7/32 $ uname -s
CYGWIN_NT-6.1

W7/64 $ uname -s
CYGWIN_NT-6.1-WOW64

> Q3 On a machine I was assured was W7-64 (but did not check this) I ran
> the Legacy version of Cygwin 1.5.25 on a portable stick with no evident
> difficulties whatsoever. I had earlier understood this not to work.
> (Also, that Cygwin 1.7 won't run on W98.) Can you confirm that 1.5 on
> W7-64 (or any 64?) and 1.7 on W98 are both non-runners?

1.5 might or might not run on W7.  I have never tested it and don't want
to.  It's not supported.  1.5 doesn't know anything about W7, so it has
no special code or workarounds for broken W7 functionality.  I'd expect
only the basic stuff to work.  For instance, you may have trouble with
console handles and with trying to hide a console.

1.7 uses native NT functions liberally.  It won't start on 9x.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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