Hi all.
Using GNU Make 3.81 compiled for Win32, I got this error message
when I run Make with the "-n" option :
process_begin: CreateProcess(NULL, "", ...) failed
After some investigations, it is linked to a $(shell xxx)
command present in my Makefile.
Here is a small Makefile that shows the problem :
-------- Makefile ----------
SHELL := cmd.exe
MY_VAR := $(shell echo hello world)
$(info MY_VAR=$(MY_VAR))
.PHONY: all
all:
@echo Doing target $@
-------- /Makefile ---------
and the corresponding output :
C:\my_dir>gnumake
MY_VAR=hello world
Doing target all
C:\my_dir>gnumake -n
process_begin: CreateProcess(NULL, "", ...) failed.
MY_VAR=
echo Doing target all
I had a look at the archive of this list, but could not find
any related topic.
Any ideas ?
For information, my gnumake is a out-of-the-box compilation
of make using "build_w32.bat".
Regards.
--
Fabrice GIRARDOT
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32