[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #15718] Weird behavior of the SHELL variable on Win32

From: Agent Zhang
Subject: [bug #15718] Weird behavior of the SHELL variable on Win32
Date: Sat, 4 Mar 2006 11:59:33 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

Follow-up Comment #12, bug #15718 (project make):

> P.S. In general, I think that setting SHELL to anything but a
> shell, either cmd.exe or some version of Unixy shell, is
> playing with fire

If I'm not misunderstanding you, the Win32 build of GNU make 3.81rc is
supposed to work with cmd.exe, right? But surprisingly it does NOT work at
all on Windows XP!

I'm shocked when I see the following (I'm sure you all will too):

D:\>cmd /C "echo hello"

D:\>cmd /c "echo hello"

D:\>cmd -c "echo hello"
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


Apparently WinXP's cmd.exe unfortunately ignores the `-c' option silently. As
Paul pointed out earlier, "(in GNU make) there's no way to change the argument
from '-c' to something else (or nothing)."

I'm still wondering why I didn't figure it out earlier and why Eli hasn't
noticed that yet. Maybe what I was using was Windows 2000 Professional which
kindly regards the `-c' option?

No clue. :(

I have no idea whether make 3.81 has already released or not. Hopefully Eli
and Paul will fix this annoying bug before the BIG release for the last four



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]