Message ID | CAGWvnykppNzBdXVYR_9fDjZnc=Mv7Vp-GdRrQchQ7PMNbC-Yrg@mail.gmail.com |
---|---|
State | New |
Headers | show |
On October 22, 2014 7:13:41 PM CEST, David Edelsohn <dje.gcc@gmail.com> wrote: >I reported the same problem in a separate thread. > >On AIX it needs LIBINTL and LIBICONV. I wonder what ends up linking those with Linux? Or is all the features available from glibc? Fixed patch is OK. Thanks, Richard. >Index: Makefile.in >=================================================================== >--- Makefile.in (revision 216542) >+++ Makefile.in (working copy) >@@ -2520,7 +2520,7 @@ ># These programs need libs over and above what they get from the above >list. > build/genautomata$(build_exeext) : BUILD_LIBS += -lm > >-build/genmatch$(build_exeext) : $(CPPLIB) $(LIBIBERTY) \ >+build/genmatch$(build_exeext) : $(CPPLIB) $(LIBIBERTY) $(LIBINTL) >$(LIBICONV) \ > $(BUILD_ERRORS) build/vec.o build/hash-table.o > > # These programs are not linked with the MD reader. > > >Thanks, David
On Wed, Oct 22, 2014 at 1:31 PM, Richard Biener <rguenther@suse.de> wrote: > On October 22, 2014 7:13:41 PM CEST, David Edelsohn <dje.gcc@gmail.com> wrote: >>I reported the same problem in a separate thread. >> >>On AIX it needs LIBINTL and LIBICONV. > > I wonder what ends up linking those with Linux? Or is all the features available from glibc? The dependency comes from libcpp. Thanks, David
Index: Makefile.in =================================================================== --- Makefile.in (revision 216542) +++ Makefile.in (working copy) @@ -2520,7 +2520,7 @@ # These programs need libs over and above what they get from the above list. build/genautomata$(build_exeext) : BUILD_LIBS += -lm -build/genmatch$(build_exeext) : $(CPPLIB) $(LIBIBERTY) \ +build/genmatch$(build_exeext) : $(CPPLIB) $(LIBIBERTY) $(LIBINTL) $(LIBICONV) \ $(BUILD_ERRORS) build/vec.o build/hash-table.o # These programs are not linked with the MD reader.