🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven Grady Thu, 30 Nov 1989 20:42
gnumake problem
#569
Author: Steven Grady
Date: Thu, 30 Nov 1989 20:42
23 lines
1129 bytes
make 3.57 (and earlier versions, I believe) does not handle intermediate
files correctly:

	% touch foo.y
	% touch foo.o
	% gnumake -n foo.o
	cc    -c foo.c -o foo.o

(There's no makefile -- the default rules demonstrate the problem.)

I think the problem is that since foo.o is newer than foo.y, make doesn't
see any reason to invoke a production on foo.y.  But, since foo.c
doesn't exist, it assumes the worst -- that foo.o needs to be remade
from foo.c, so it invokes the appropriate production.  This is just
a guess, of course.  

This is a pretty severe problem.

	Steven
	...!ucbvax!grady
	grady@postgres.berkeley.edu

"You try any preversions in there, and I'll blow your head off."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads