This is the mail archive of the 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.5 PATCH: Fix libcpp related build problems

A mainline bootstrap on mips-sgi-irix6.5 just failed since fix-headers
failed to link.  While LIBS included CPPLIB, only CPPLIBS was defined.
Besides, CPPLIB needs to come before LIBIBERTY on the link line, since
libcpp depends on several libiberty functions.

The following patch fixes this and allows the bootstrap to continue.

Ok for mainline?


Rainer Orth, Faculty of Technology, Bielefeld University

Mon May 24 17:28:08 2004  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* (CPPLIBS): Renamed to CPPLIB.
	(BACKEND): Reflect this.
	(LIBS): Likewise.
---	Mon May 24 15:05:28 2004
+++	Mon May 24 18:46:43 2004
@@ -285,7 +285,7 @@ GMPINC = @GMPINC@
-CPPLIBS = ../libcpp/libcpp.a
+CPPLIB = ../libcpp/libcpp.a
 CPPINC = -I$(srcdir)/../libcpp/include
 # Substitution type for target's getgroups 2nd arg.
@@ -739,7 +739,7 @@ LIBIBERTY = ../libiberty/libiberty.a
 BUILD_LIBIBERTY = @FORBUILD@/libiberty/libiberty.a
 # Dependencies on the intl and portability libraries.
 # Likewise, for use in the tools that must run on this machine
 # even if we are cross-building GCC.
@@ -747,7 +747,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
 # How to link with both our special library facilities
 # and the system's installed libraries.
 # Any system libraries needed just for GNAT.
@@ -913,7 +913,7 @@ OBJS = $(OBJS-common) $(out_object_file)
 OBJS-onestep = libbackend.o $(OBJS-archive)
-BACKEND = main.o @TREEBROWSER@ libbackend.a $(CPPLIBS)
+BACKEND = main.o @TREEBROWSER@ libbackend.a $(CPPLIB)
 # Files to be copied away after each stage in building.
 STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \

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