[PATCH] fix make after clean

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Mon Apr 4 05:07:00 GMT 2011

On Sun, Apr 03, 2011 at 07:22:42PM -0500, Yaakov (Cygwin/X) wrote:
>On Sun, 2011-04-03 at 19:03 -0400, Christopher Faylor wrote:
>> This can't be right.  In all of the times that I've run a "make clean",
>> I have never needed this.  A .o relying on .cc is a given.  You don't
>> need an explicit rule.
>Without it, after a successfully completed build:
>$ make clean -C i686-pc-cygwin/winsup/cygwin
>$ make
>[...goes until winsup/cygwin...]
>[...compiles all files until link stage...]
>g++: devices.o: No such file or directory
>make[3]: *** [cygwin0.dll] Error 1
>So in this case, apparently it is.

And, without it, I continue to build without problem.  I *am* building
on Linux, though, so maybe that's the difference.

Regardless, I am not going to add a rule that doesn't make sense.


More information about the Cygwin-patches mailing list