On Sat, 2010-02-06 at 20:16 -0800, Mark Galeck (CW) wrote:
> With the makefile
> 
> foobar:
>                 echo \\\foobar
> why 
> 
> C:\Temp>make foobar
> \\foobar
> 
> Where is this explained in the manual?

This is either an issue with your shell, or it's a problem with GNU
make's Windows port.  On UNIX systems the output is "\foobar" and this
is what I would expect.

To see if it's a problem with the shell or not, you should create a
command that make will pass to the shell for sure; for example one that
contains a ";" command separator, like:

        all: ; echo hi; echo \\\foo

and see what that prints.  If it still prints the "incorrect" value,
then it's a problem with whatever shell you're using and you should
discuss it with them.

If you get the correct value then there's a bug in GNU make's fast-path
backslash handling for Windows systems.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



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

Reply via email to