On Wed, 24 May 2000, Earnie Boyd wrote:

> Cygwin comes with uname which reports:
> CYGWIN_NT-4.0 DU147636 1.1.0(0.17/3/2) 2000-03-01 00:15:19 i686 unknown
> 
> For MinGW I have a uname hack which reports:
> MINGW_WinNT DU147636 3 0 i686 unknown

Sounds a bit dangerous to me: what if someone uses Mingw, but uname is 
from Cygwin?  I understand that many Mingw developers use Cygwin 
toolchain (except the compiler and Binutils).

How about running "gcc -v --version" and looking at the output?

Reply via email to