bug-make
[Top][All Lists]
Advanced

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

[bug #30323] No path in MAKE_COMMAND (with fix)


From: Eli Zaretskii
Subject: [bug #30323] No path in MAKE_COMMAND (with fix)
Date: Tue, 01 Oct 2013 17:33:02 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0

Update of bug #30323 (project make):

                Severity:              3 - Normal => 2 - Minor              
              Item Group:                     Bug => Enhancement            
                  Status:                    None => Wont Fix               
        Operating System:              MS Windows => Any                    
           Triage Status:                    None => Verified               

    _______________________________________________________

Follow-up Comment #8:

Your example exactly reproduces what the comment says: since the current
directory is implicitly always on PATH on Windows, the Make executable is
found in the current directory, and the Makefile does not work.

The same happens on GNU/Linux if you prepend "." to PATH:

$ mkdir mktest && cd mktest
$ cp -p /bin/make ./mak1
$ export PATH=.:"$PATH"
$ mkdir subdir
$ mak1 -f-
all:
        cd subdir && $(MAKE)
^D
cd subdir && mak1
/bin/sh: mak1: not found
mak1: *** [all] Error 127

Therefore, I submit that the Windows port behaves exactly like Make behaves on
Posix platforms in this case.  If the Posix code is modified to work around
this failure, I will then consider changing the Windows code to follow suit.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30323>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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