Mail Archives: djgpp/1999/04/02/02:55:14
I've discovered what I regard as a rather serious bug in make 3.77.
By accident I forgot to put "include makefile.cfg" in my makefile
before these rules:
all: libvgagl.a
libvgagl.a: $(OBJECTS)
ar rcs libvgagl.a $(OBJECTS)
$(CP) $@ $(DJDIR)/lib
$(CP) expands to `' causing `libvgagl.a e:/djgpp/lib' to be executed.
`CP = cp.exe' was in `makefile.cfg'.
This "shell command" resulted in crash inside DOS (seg 273h) and some
lost clusters. No serious harm done (chkdsk fixed it).
What is make trying to do here? And how on earth can an archive
be executed like this?
Gisle V.
- Raw text -