This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: B20: make confused with //a style drive specifiers



>>>>> "Graham" == Graham Dumpleton <Graham.Dumpleton@ra.pad.otc.com.au> writes:

Graham> Came across the following problem in B20 which I believe should
Graham> work. [...]

Graham> need2 := //g/a //g/b //g/c //g/d //g/e //g/f
Graham> all2 : $(need2)
Graham> $(need2) : % :
Graham>		@echo $@

Graham> make: *** No rule to make target `//g/a', needed by `all2'.  Stop.


I reported this bug back in November (see in the archives at
<http://www.cygnus.com/ml/gnu-win32/1998-Nov/0419.html> for my report) and it
has nothing to do with the //a style drive letters.  The problem is that make
cannot cope with the second or later path in a static rule being an absolute
path name.  Hugh Winkler (hughw@scoutsys.com) identified the problem and
produced a version of make that works (see
<http://www.cygnus.com/ml/gnu-win32/1998-Nov/0586.html>).  This message also
contains the URL of the fixed binary.

For whatever reason this fix never made it into B20.1, but I presume it will
appear when make 3.77 is incorporated into the next release.

BTW Graham, if you found this bug by using makeit under cygwin, let me know
because we've been using that combination here for the last few months.

-- 
Malcolm Purvis (malcolmp@abc.gov.au) - ABC Technology Research and Development

"I don't want it to be practical, I want it to be *expensive*."
	-- my wife.