[PATCH] fix make after clean

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Thu Apr 7 00:53:00 GMT 2011


On Mon, 2011-04-04 at 10:52 -0400, Christopher Faylor wrote:
> The last time I reported that I was using relative paths in the
> gcc/binutils/winsup directory I was told "Don't do that.  It isn't
> supported."  However, I'll move the call to Makefile.common earlier
> in Makefile.in.
> 
> Thanks for the analysis.

You overcompensated just a bit too much.  With a clean builddir:

In file included from /usr/src/cygwin/winsup/cygwin/gmon.c:42:0:
/usr/src/cygwin/winsup/cygwin/gmon.h:46:21: fatal error: profile.h: No
such file or directory
compilation terminated.
make[3]: *** [gmon.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/src/cygwin/winsup/cygwin/mcount.c:39:0:
/usr/src/cygwin/winsup/cygwin/gmon.h:46:21: fatal error: profile.h: No
such file or directory
compilation terminated.
make[3]: *** [mcount.o] Error 1

Patch attached.


Yaakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winsup-cygwin-Makefile.patch
Type: text/x-patch
Size: 719 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110407/dc514c64/attachment.bin>


More information about the Cygwin-patches mailing list