[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: |
Mon, 13 Feb 2006 10:11:06 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 |
Follow-up Comment #4, bug #15718 (project make):
Hi, Paul~
Everything you said is very true. I'm a Perl programmer and I know what `perl
foo' and `perl -e foo' do. And I know GNU make always sends `-c' to the shell
as well. Furthermore, I also quite agree the idea of SHELLFLAGS and the
current workaround by writing a wrapper around the perl interpreter, and etc,
etc, etc.
But, unfortunately, you seem to miss my point in [comment #2]. Sorry, I
didn't make my point clear enough. I think I have to rephrase it here:
* SHELL variable assignment within Makefile doesn't work for Win32 port of
GNU make. That's the bug.
* SHELL variable assignment on the command line does work for Win32 port of
GNU make. That's what we expect
In the screen-shot given in my previous [comment #2], cygwin-make *did* the
right thing although it complains.
BUT, win32-make did *NOT* do the right thing. win32-make should have
complained but it didn't. win32-make apparently did not even try to use
`perl' as the shell at all. It must looked back to my Cygwin sh.exe or
something instead of `perl', the value of the SHELL varaible in the
Makefile.
That's all. :=)
This bug really has nothing to do with `perl'. `perl' is just an arbitrary
sample value, just as what Eli said in [comment #1].
For another example demonstrating this bug, please take a look at my [comment
#3] for [bug #15720]. Thank you for your patience. :P
Respectfully,
Agent
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=15718>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #15718] Weird behavior of the SHELL variable on Win32, Paul D. Smith, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32,
Agent Zhang <=
- [bug #15718] Weird behavior of the SHELL variable on Win32, Doug Konrad, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Eli Zaretskii, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Eli Zaretskii, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Eli Zaretskii, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Paul D. Smith, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Eli Zaretskii, 2006/02/13
- [bug #15718] Weird behavior of the SHELL variable on Win32, Paul D. Smith, 2006/02/13