[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Savannah W32 patches... are any OK?
From: |
Earnie Boyd |
Subject: |
Re: Savannah W32 patches... are any OK? |
Date: |
Wed, 2 Mar 2005 19:33:11 -0500 (EST) |
User-agent: |
SquirrelMail/1.4.3a |
<quote who="Eli Zaretskii">
>> Date: Tue, 1 Mar 2005 17:11:31 -0500
>> Cc: address@hidden, address@hidden, address@hidden,
>> address@hidden
>> From: "Paul D. Smith" <address@hidden>
>>
>> %% "Eli Zaretskii" <address@hidden> 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