This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gensupport build fix for non-native builds


Clinton's recent change needs a trivial tweak to support cross and 
canadian cross builds.

Wed May  3 12:40:53 2000  Clinton Popetz  <cpopetz@cygnus.com>

	* gensupport.c: New file.
	* gensupport.h: New file.
	* Makefile.in (HOST_RTL): Depend on gensupport.
	(gensupport.o) New rule.
	....

2000-05-04  Mumit Khan  <khan@xraylith.wisc.edu>

	* Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.437
diff -u -3 -p -r1.437 Makefile.in
--- Makefile.in	2000/05/03 23:18:47	1.437
+++ Makefile.in	2000/05/04 06:19:10
@@ -1725,6 +1725,10 @@ $(HOST_PREFIX_1)ggc-none.o: ggc-none.c
 	sed -e 's/config[.]h/hconfig.h/' $(srcdir)/ggc-none.c > $(HOST_PREFIX)ggc-none.c
 	$(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(HOST_PREFIX)ggc-none.c
 
+$(HOST_PREFIX_1)gensupport.o: gensupport.c
+	rm -f $(HOST_PREFIX)gensupport.c
+	$(LN_S) $(srcdir)/gensupport.c $(HOST_PREFIX)gensupport.c
+	$(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(HOST_PREFIX)gensupport.c
 
 #
 # Remake internationalization support.

Regards,
Mumit


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]