On 2007-2-21 13:45 UTC, Paul Smith wrote:
> On Wed, 2007-02-21 at 10:09 +0000, Greg Chicares wrote:
>> The command fails, and 'make' stops--on msw, e.g., I get:
>>
>>   process_begin: CreateProcess(NULL, false, ...) failed.
> 
> That must be a bug in the MSW version of GNU make.  On a POSIX system
> there is no message or error if the command invoked by the shell exits
> with a non-zero (failure) exit code.

I misinterpreted what I saw: make doesn't actually stop.

x := $(shell false)

.PHONY: all
all:
        @echo $x
        @echo Done.

Result:

  C:/tmp[0]$make
  process_begin: CreateProcess(NULL, false, ...) failed.

  Done.

The message about 'CreateProcess' is actually useful in many cases.


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to