Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Larry Finger <Larry.Finger@lwfinger.net>
Subject:  Re: Output of uname -s
Date:  Wed, 14 Sep 2005 10:29:05 -0500
Lines: 18
Message-ID: <dg9fk1$29e$1@sea.gmane.org>
References:  <dg856j$8cl$1@sea.gmane.org> <4327A063.1020602@byu.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
In-Reply-To: <4327A063.1020602@byu.net>
X-IsSubscribed: yes

Eric Blake wrote:
> -----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.
> 
Thanks. I got the answer from wincap.cc.


--
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/

