From: Ralf Wildenhues Date: Mon, 14 Jan 2008 21:34:50 +0000 (+0000) Subject: * doc/notes.texi: Mention AIX binutils deficiency for C++ code. X-Git-Tag: release-1-5-26~11 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=addbac0d950ee130ce804fff3cde821fb6ae81a1;p=thirdparty%2Flibtool.git * doc/notes.texi: Mention AIX binutils deficiency for C++ code. Report by Rainer Tammer. Suggest using bash for configure. Hint to runtimelinking. --- diff --git a/ChangeLog b/ChangeLog index 3db01729a..9fd2afe05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-14 Ralf Wildenhues + + * doc/notes.texi: Mention AIX binutils deficiency for C++ code. + Report by Rainer Tammer. + Suggest using bash for configure. Hint to runtimelinking. + 2008-01-12 Ralf Wildenhues * ltmain.in (link mode): Fix warning about -l and -L for diff --git a/README b/README index 53ccc0aab..28e235ced 100644 --- a/README +++ b/README @@ -128,3 +128,17 @@ not yet present in 2.59 but only in CVS Autoconf. setup to link properly against shared versions of the C++ standard libraries. See http://lists.gnu.org/archive/html/libtool/2005-08/msg00088.html for more information. + +11) On AIX there are two different styles of shared linking, one in +which symbols are bound at link-time and one in which symbols are bound +at runtime only, similar to ELF. In case of doubt use `LDFLAGS=-Wl,-brtl' +for the latter style. + +12) On AIX, native tools are to be preferred over binutils; especially +for C++ code, if using the AIX Toolbox GCC 4.0 and binutils, +configure with `AR=/usr/bin/ar LD=/usr/bin/ld NM="/usr/bin/nm -B"'. + +13) On AIX, the `/bin/sh' is very slow due to its inefficient handling +of here-documents. A modern shell is preferable: + CONFIG_SHELL=/bin/bash; export $CONFIG_SHELL + $CONFIG_SHELL ./configure [...]