This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH for Re: bootstrap error with --enable-cpplib and --enable-nls
- To: doko at cs dot tu-berlin dot de
- Subject: PATCH for Re: bootstrap error with --enable-cpplib and --enable-nls
- From: Manfred Hollstein <manfred at s-direktnet dot de>
- Date: Mon, 29 Mar 1999 10:16:52 +0200 (MEST)
- Cc: egcs-bugs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
- References: <14078.12143.662831.680698@bolero>
- Reply-To: manfred at s-direktnet dot de, mh at exept dot de
OK to install?
manfred
1999-03-29 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (cppmain$(exeext)): Depend on intl.o. Link in intl.o.
diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-19990329.orig/gcc/Makefile.in egcs-19990329/gcc/Makefile.in
--- egcs-19990329.orig/gcc/Makefile.in Sat Mar 27 15:33:14 1999
+++ egcs-19990329/gcc/Makefile.in Mon Mar 29 10:13:26 1999
@@ -1973,9 +1973,9 @@ libcpp.a: $(LIBCPP_OBJS)
$(AR) $(AR_FLAGS) libcpp.a $(LIBCPP_OBJS)
if $(RANLIB_TEST) ; then $(RANLIB) libcpp.a ; else true ; fi
-cppmain$(exeext): cppmain.o libcpp.a $(LIBDEPS)
+cppmain$(exeext): cppmain.o intl.o libcpp.a $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o cppmain$(exeext) cppmain.o \
- libcpp.a $(LIBS)
+ intl.o libcpp.a $(LIBS)
cppmain.o: cppmain.c $(CONFIG_H) cpplib.h intl.h system.h
On Sun, 28 March 1999, 15:36:24, doko@cs.tu-berlin.de wrote:
> The 19990321 snapshot fails to bootstrap with both --enable-cpplib
> --enable-c-cpplib and --enable-nls enabled.
>
> Configured with: -v
> --prefix=/usr/lib/egcs-ss
> --enable-shared
> --enable-haifa
> --with-fast-fixincludes
> --enable-threads
> --enable-java-gc=boehm
> --enable-nls
> --enable-cpplib
> --enable-c-cpplib
> --enable-c-mbchar
> --enable-objc-gc
> i486-linux
>
> cc -DIN_GCC -DHAIFA -DMULTIBYTE_CHARS=1 -g -W -Wall
> -DHAVE_CONFIG_H -s -o cppmain cppmain.o \
> libcpp.a obstack.o ../libiberty/libiberty.a
> cppmain.o: In function `main':
> /export/swt-dev/users/doko/egcs/egcs-snapshot-19990321/builddir/gcc/../../gcc/cppmain.c:75: undefined reference to `localedir'
> make[3]: *** [cppmain] Error 1
>