BUg in GNU make 3.75 (CYGWIN port)

Dominique PELLE dominique.pelle@eurocontrol.fr
Sun Jan 31 23:52:00 GMT 1999


On CYWIN_95-4.0 (Beta 20.1 release) the simple GNU Makefile
(GNU make 3.75) that follows does not work.  It works fine
with GNU make on Linux:

# --- cut here ---

all: /tmp/bar /tmp/foo ;

clean:
	rm -f /tmp/foo /tmp/bar


# This create problems on the CYWIN port of GNU make 3.75
/tmp/foo /tmp/bar:
	touch $@

# --- cut here ---


Here is how it fails:

$ make
make: *** No rule to make target `/tmp/bar', needed by `all'.  Stop.


The bug seems to occur when there are several targets
in the same rule AND when the target files are absolute pathnames

Everything is fine when relative pathnames are used instead
of absolute pathnames.  Everything is fine also when I replace
the rule:

/tmp/foo /tmp/bar:
	touch $@


... with 2 rules:

/tmp/foo:
	touch $@

/tmp/bar:
	touch $@



My host is:
BASH.EXE-2.02$ uname -a
CYGWIN_95-4.0 SPEEDY 20.1 (0.3/1/1) 1998-12-3 20:39:18 i586 unknown

My GNU make version is:
BASH.EXE-2.02$ make --version
GNU Make version 3.75, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96
        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.

Report bugs to <bug-gnu-utils@prep.ai.mit.edu>.
BASH.EXE-2.02$

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list