delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/14/00:00:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <4327A063.1020602@byu.net>
Date: Tue, 13 Sep 2005 22:00:35 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Larry Finger <Larry DOT Finger AT lwfinger DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: Output of uname -s
References: <dg856j$8cl$1 AT sea DOT gmane DOT org>
In-Reply-To: <dg856j$8cl$1@sea.gmane.org>
X-IsSubscribed: yes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Larry Finger on 9/13/2005 9:25 PM:
> I know that 'uname -s' yields 'CYGWIN_NT-5.1' on Windows XP, but I am
> writing a multi-platform makefile and need to find a method that will
> work for all versions of Windows. What is the result of uname -s for
> Windows 9X, Me, NT and 2K?

If you don't care about which version of Windows, look at config.guess,
which just compares against CYGWIN*.  And if you do care, all
possible strings are available by reading the source code, in uname.cc and
wincap.cc.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJ6Bj84KuGfSFAYARAhRFAKDU7fPk4rDH12ksMLWA0MCjOdJYNgCdFczZ
/x+iGW74+HdOKQJ2w6RXdFI=
=urte
-----END PGP SIGNATURE-----

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

- Raw text -


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