bugmake - Bugs: bug #25662, PATH (sometimes) not set when set...

 
 

bug #25662: PATH (sometimes) not set when set from target-variable

Submitter:  None
Submitted:  Sat 21 Feb 2009 10:55:27 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.81 Operating System:  MS Windows
Fixed Release:  3.82 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 14 Mar 2009 02:58:34 PM UTC, comment #1: 

Fixed with the attached patch (which also fixes bug #17277).

Eli Zaretskii <eliz>
Group Member
Sat 21 Feb 2009 10:55:27 PM UTC, original submission:  

makefile:
------------------
all : dir dir/run.exe run_1 run_2
clean : ; -rmdir /s/q dir
dir : ; mkdir $@
run_1 : ; run "$@"
run_2 : ; run $@
run_% : PATH += ;$(subst /,\,$(CURDIR))\dir
dir/run.exe : dir/run.c ; gcc $< -o $@
dir/run.c : ; @echo >$@ int main(int argc, char**argv) {puts("*hello*");return 0;}
------------------
output:
mkdir dir
gcc dir/run.c -o dir/run.exe
run "run_1"
hello
run run_2
process_begin: CreateProcess(NULL, run run_2, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
make: * [run_2] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #17688:  w32searchpath.dif added by eliz (5KiB - application/vnd.ms-excel)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Updated the item)
  • -email is unavailable- added by eliz (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-28 psmith Fixed Release4.0 3.82
    2009-03-14 eliz Open/ClosedOpen Closed
    2009-03-14 eliz Attached File- Added w32searchpath.dif, #17688
    2009-03-14 eliz Open/ClosedClosed Open
    2009-03-14 eliz StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code