make-w32
[Top][All Lists]
Advanced

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

process_begin: CreateProcess(NULL, "", ...) failed


From: Fabrice GIRARDOT
Subject: process_begin: CreateProcess(NULL, "", ...) failed
Date: Mon, 17 Mar 2008 14:34:06 +0100
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)


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





reply via email to

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