From: Arjen M. <arj...@wl...> - 2006-11-05 15:23:54
|
>> How does one distinguish between plain Windows, Cygwin and MinGW? > > lm@win2k ~ > $ bk version > BitKeeper version is 20061102234314 for x86-win32 > Options: > Built by: ri...@wi... in /c/cygwin/build/bk-4.0.x/src > Built on: Fri Nov 3 10:15:19 PST 2006 > Running on: MINGW32_NT-5.0 > > BK does it by running a uname -s, that's the "Running on: > MINGW32_NT-5.0" part. > > But I'm not sure what the question is - are you looking to see if it is > a native build vs a cygwin build? Not sure, really ;) It is just that the tcl_platform array does not give any indication under what environment Tcl is being used and so a package that needs certain external tools must use different means to find out if they are at all available. I guess the runtime environment is more important in many cases than the build type. Regards, Arjen |