This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
gensupport build fix for non-native builds
- To: gcc-patches at gcc dot gnu dot org, Clinton Popetz <cpopetz at cygnus dot com>
- Subject: gensupport build fix for non-native builds
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Thu, 04 May 2000 01:24:25 -0500
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