[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #25662] PATH (sometimes) not set when set from target-variable
From: |
anonymous |
Subject: |
[bug #25662] PATH (sometimes) not set when set from target-variable |
Date: |
Sat, 21 Feb 2009 22:55:29 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 (.NET CLR 3.5.30729) |
URL:
<http://savannah.gnu.org/bugs/?25662>
Summary: PATH (sometimes) not set when set from
target-variable
Project: make
Submitted by: None
Submitted on: Sat 21 Feb 2009 10:55:27 PM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: MS Windows
Fixed Release: None
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25662>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #25662] PATH (sometimes) not set when set from target-variable,
anonymous <=