3.0.1 PATCH: Substitute LIBICONV in gcc/Makefile.in
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Thu Jul 19 14:32:00 GMT 2001
A fresh bootstrap of gcc 3.0.1 20010719 on alpha-dec-osf5.1 just failed
since jv-scan didn't link:
stage1/xgcc -Bstage1/ -B/vol/gcc/alpha-dec-osf5.1/bin/ -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o jv-scan java/parse-scan.o java/jv-scan.o version.o obstack.o -lmld -lexc ../libiberty/libiberty.a
/usr/bin/ld:
Unresolved:
iconv_open
iconv
iconv_close
This happens since java/Make-lang.in refers to $(LIBICONV), but the
AC_SUBST in aclocal.m4 has no effect at the moment, so the variable is
undefined, while Tru64 UNIX V5.1 needs -liconv for those functions. The
patch below fixes this. Ok for branch and mainline, provided the bootstrap
completes?
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE
Thu Jul 19 22:05:27 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.in (LIBICONV): Substitute.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.602.2.32
diff -u -p -r1.602.2.32 Makefile.in
--- Makefile.in 2001/07/04 16:23:06 1.602.2.32
+++ Makefile.in 2001/07/19 21:29:38
@@ -129,6 +129,7 @@ LN_S=@LN_S@
# These permit overriding just for certain files.
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
+LIBICONV = @LIBICONV@
MAKEINFO = @MAKEINFO@
MAKEINFOFLAGS =
TEXI2DVI = texi2dvi
More information about the Gcc-patches
mailing list