make-w32
[Top][All Lists]
Advanced

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

Re: Bug in the expansion of $(MAKE) in GNU make 3.81


From: Eli Zaretskii
Subject: Re: Bug in the expansion of $(MAKE) in GNU make 3.81
Date: Thu, 16 Nov 2006 22:36:27 +0200

> Date: Thu, 16 Nov 2006 22:05:48 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> > Date: Thu, 16 Nov 2006 12:42:49 +0100
> > From: Benoit Sigoure <address@hidden>
> > 
> > However if the absolute path is Windows-style, something very weird happens:
> > 
> > $ C:/cygwin/usr/local/bin/make
> > echo /tmp/mk/3/C:/cygwin/usr/local/bin/make
> > /tmp/mk/3/C:/cygwin/usr/local/bin/make
> > /tmp/mk/3/C:/cygwin/usr/local/bin/make foo
> > make: /tmp/mk/3/C:/cygwin/usr/local/bin/make: Command not found
> > make: *** [all] Error 127
> > 
> > where "/tmp/mk/3" is the current working directory.
> 
> Thank you for your report.  I will try in a few days to find where
> this problem happens.

I just looked at the code.  The $(MAKE) variable is set in main.c
around line 1300.  I don't see any reference to HAVE_DOS_PATHS there,
though, so I don't see how the patch applied to the stock Cygwin
sources could cause this trouble.  Could you please try this in the
unpatched Cygwin 3.81 binary, and see if it has the same problem?  If
the unpatched binary has the same problem, I think I know what needs
to be done to fix this, but I'd like first to be sure that I'm not
missing anything important.




reply via email to

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