<quote who="Eli Zaretskii"> >> Date: Tue, 1 Mar 2005 17:11:31 -0500 >> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], >> [email protected] >> From: "Paul D. Smith" <[EMAIL PROTECTED]> >> >> %% "Eli Zaretskii" <[EMAIL PROTECTED]> writes: >> >> >> Hm. Maybe the DOS/Windows shell management code in GNU make should >> be >> >> made aware of, and utilize, the COMSPEC variable (say, if SHELL is >> not >> >> set). >> >> ez> Make already does that, see variable.c. >> >> So... I'm losing track here... is the answer to the problem as easy as >> checking SHELL to see if it's command.com vs. cmd.exe? > > It's a possibility, but AFAIR cmd.exe from Windows NT is still > relatively much less smarter than that of W2K or XP. So I'd prefer > using a Windows system call. Could someone of the Windows developers > please suggest a patch along these lines? >
A sample howto is found here http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getting_the_system_version.asp Caution if the line breaks, it is a long URL. Earnie -- http://www.mingw.org http://sourceforge.net/projects/mingw https://sourceforge.net/donate/index.php?user_id=15438 _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
