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: Benoit Sigoure
Subject: Re: Bug in the expansion of $(MAKE) in GNU make 3.81
Date: Thu, 16 Nov 2006 21:51:20 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.0.2)

Quoting Eli Zaretskii <address@hidden>:
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.


I have the same problem with stock cygwin GNU make 3.81:

$ /usr/bin/make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-cygwin
address@hidden /tmp/mk/3 $ C:/cygwin/bin/make
echo /tmp/mk/3/C:/cygwin/bin/make
/tmp/mk/3/C:/cygwin/bin/make
/tmp/mk/3/C:/cygwin/bin/make foo
make: /tmp/mk/3/C:/cygwin/bin/make: Command not found
make: *** [all] Error 127

--
SIGOURE Benoit aka Tsuna
  _____
 /EPITA\ Promo 2008, LRDE





reply via email to

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