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]
Other format: [Raw text]

3.2 PATCH: Link gnatbind with SYSLIBS


gnatbind failed to link on alpha-dec-osf5.1 since I'd forgotten to add
$(SYSLIBS) to the link line for the ada parallel bootstrap patch.  Besides,
the PCH merge incorrectly reintroduced the catch-all $(CONFIG_H) dependency
which became unnecessary by the patch above.

This patch allows me to complete stage1 with gcc 3.1 as bootstrap
compiler.  I cannot fully bootstrap now, though:

	http://gcc.gnu.org/ml/gcc-bugs/2002-06/msg00517.html

Ok for mainline?

	Rainer



Mon Jun 17 12:58:43 2002  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
	Remove $(CONFIG_H) dependency.
	
Index: Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/Make-lang.in,v
retrieving revision 1.13
diff -u -p -r1.13 Make-lang.in
--- Make-lang.in	4 Jun 2002 10:55:49 -0000	1.13
+++ Make-lang.in	17 Jun 2002 20:44:57 -0000
@@ -205,9 +205,9 @@ gnat1$(exeext): $(TARGET_ADA_SRCS) $(GNA
 		$(SYSLIBS)
 	$(RM) stamp-gnatlib2 stamp-tools
 
-gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS)
+gnatbind$(exeext): ada/b_gnatb.o $(GNATBIND_OBJS)
 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ ada/b_gnatb.o $(GNATBIND_OBJS) \
-	     $(LIBIBERTY) $(LIBS)
+	     $(LIBIBERTY) $(LIBS) $(SYSLIBS)
 
 # use target-gcc target-gnatmake target-gnatbind target-gnatlink 
 gnattools: $(GCC_PARTS) $(CONFIG_H) prefix.o force


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