helpful patch for bootstrapping cross-compilers

Tony Kimball alk@pobox.com
Tue Apr 24 21:56:00 GMT 2001


This one is helpful, because the include files are needed in order to
build libgcc.  With it, one can just make install_includes, then
return to compiling libgcc.

cvs -z3 diff -u winsup/cygwin/Makefile.in
Index: winsup/cygwin/Makefile.in
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/Makefile.in,v
retrieving revision 1.55
diff -u -r1.55 Makefile.in
--- Makefile.in	2001/04/20 13:02:32	1.55
+++ Makefile.in	2001/04/25 04:54:32
@@ -146,11 +146,13 @@
 
 force:
 
-install: all $(install_host) $(install_target)
+install_data:
 	$(INSTALL_DATA) new-$(DLL_NAME) $(bindir)/$(DLL_NAME); \
 	for i in $(LIB_NAME) $(GMON_START) $(LIBGMON_A) automode.o binmode.o textmode.o ; do \
 	    $(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \
-	done ; \
+	done 
+
+install_includes:
 	cd $(srcdir); \
 	for sub in `find include -name '[a-z]*' -type d -print | sort`; do \
 	    for i in $$sub/*.h ; do \
@@ -158,6 +160,8 @@
 	    done ; \
 	done ; \
 	$(INSTALL_DATA) regexp/regexp.h $(tooldir)/include/regexp.h
+
+install: all $(install_host) $(install_target) install_data install_includes
 
 install_host:
 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list