Mail Archives: cygwin/2005/08/14/16:31:11
I noticed that my cygwin bash shell has $OS defined already, as "Windows_NT"
while uname -s produces CYGWIN_NT-5.0.
Normally, I expect `uname -r` to say "5.0", but it gives another number,
presumeably a cygwin version.
bash-3.00$ uname -s
CYGWIN_NT-5.0
bash-3.00$ echo $OS
Windows_NT
I only ask because my Makefiles from Unix would prefer to have $OS either not
set, or be equal to uname -s. Is there a reason why these things differ?
(My Makefile's will get changed to cope...)
--
] Michael Richardson Xelerance Corporation, Ottawa, ON | firewalls [
] mcr @ xelerance.com Now doing IPsec training, see |net architect[
] http://www.sandelman.ca/mcr/ www.xelerance.com/training/ |device driver[
] I'm a dad: http://www.sandelman.ca/lrmr/ [
--=-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iQCVAwUAQv+pZIqHRg3pndX9AQEfyAQAnkoFcuh3oVKudQIlTGqvdjv0or9/OgZU
42bdA1vYInl/5sTncpEHSKuXGp4/nB/l8ZFc+rUuFgQBJRGuVswuyTKeRdXPQS2S
lcTKdRLtWfn5kP5nOY/WOpp001NOx+ip57srx4KobWSJsQJK9f6rSUVGr39KvsOC
lY9RQ9Dkq+4=
=yNsy
-----END PGP SIGNATURE-----
--=-=-=--
- Raw text -