make-w32
[Top][All Lists]
Advanced

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

Re: PATH vs. Path ([Fwd: Returned mail: see transcript for details]


From: Alessandro Vesely
Subject: Re: PATH vs. Path ([Fwd: Returned mail: see transcript for details]
Date: Tue, 08 Mar 2005 23:14:18 +0100

David Baird wrote:
> 
> 
> The find_and_set_default_shell change is from a patch I submitted for
> GNU Make 3.80, so I am well aware of what it does, and unfortunately,
> it doesn't fix the Path problem on its own.

Does it fix the SHELL problem for cmd.exe well enough?
Did you test that patch I posted for bug 12209?
https://savannah.gnu.org/bugs/?func=detailitem&item_id=12209
 
> I am using the following make file to test the impact of my own
> changes on the code.

Running (a slight modification of) your test makefile reveals yet another
error of this beta: $(MAKE) needs those backslashes! Without them the
cmd.exe shell doesn't work. I added a line with literal path, i.e.
        @echo +
        -$(MAKE) -v | findstr Copyright
        @echo +
+       -c:\util\gmake -v | findstr Copyright
+       @echo +
        @echo + Path macro = $(Path)
        @echo +
        @echo + PATH macro = $(PATH)

Here's the output I get:

GNU Make 3.81beta2
Copyright (C) 2003  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for Windows32 with Borland C 5.5.1
+
+ Path shell = C:\WINNT\system32;C:\WINNT
+
+ PATH shell = C:\WINNT\system32;C:\WINNT
+
C:/UTIL/gmake -v
GNU Make 3.81beta2
Copyright (C) 2003  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for Windows32 with Borland C 5.5.1
+
C:/UTIL/gmake -v | findstr Copyright
Il nome specificato non รจ riconosciuto come comando
interno o esterno, un programma eseguibile o un file batch.
make: [all] Error 255 (ignored)
+
c:\util\gmake -v | findstr Copyright
Copyright (C) 2003  Free Software Foundation, Inc.
+
+ Path macro = C:\WINNT\system32;C:\WINNT
+
+ PATH macro = C:\WINNT\system32;C:\WINNT
+
+ Path envvar = C:\WINNT\system32;C:\WINNT
+
+ PATH envvar = C:\WINNT\system32;C:\WINNT




reply via email to

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