make-w32
[Top][All Lists]
Advanced

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

Re: $(shell ...) and SHELL problems in 3.81


From: Eli Zaretskii
Subject: Re: $(shell ...) and SHELL problems in 3.81
Date: Tue, 17 Apr 2007 22:18:49 +0300

> Date: Mon, 16 Apr 2007 17:29:11 -0700 (PDT)
> From: Aaron Shatters <address@hidden>
> Cc: address@hidden
> >
> >The shell function is essentially a make implementation of the POSIX
> >shell `` (backticks) function.
> 
> Of course, you are right... this is not a problem.  The example that I had 
> lifted from another makefile had stdout redirected to stderr after the echo 
> command, therefore, it printed to the screen.  I failed to include this 
> portion in my testing.
> 
> It was:
> GARBAGE := $(shell echo text to print 1>&2)
> 
> I omitted the "1>&2", which lead to the difference in operation.

This works for me as you expect in the MinGW build: the text is
printed.




reply via email to

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