[RFA] Makefile.in (clean): rm -f $(DEPDIR)/*.

Tom Tromey tromey@redhat.com
Mon Mar 2 01:06:00 GMT 2009


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> make: *** No rule to make target `../../../src/gdb/signals/signals.c',
Doug> needed by `signals.o'.  Stop.
Doug> This is because signals.c has moved, but .deps/mumble still refers to
Doug> the old location.

Thanks, I see.

Your patch is ok.

It is interesting that I have never run across this particular failure
before.  This style of dependency tracking has been in use for a long
time...

I think the underlying problem is a bug in gcc.  I think -MP ought to
emit a dummy target for the primary source file as well.  I made a
note to fix this in libcpp.

Tom



More information about the Gdb-patches mailing list