]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* doc/notes.texi: Mention AIX binutils deficiency for C++ code.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 14 Jan 2008 21:34:50 +0000 (21:34 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 14 Jan 2008 21:34:50 +0000 (21:34 +0000)
Report by Rainer Tammer.
Suggest using bash for configure.  Hint to runtimelinking.

ChangeLog
README

index 3db01729a165263fe926b42e30c55d780935e9a3..9fd2afe052548699942d5c6fb785ccbf737d03da 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * 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  <Ralf.Wildenhues@gmx.de>
 
        * ltmain.in (link mode): Fix warning about -l and -L for
diff --git a/README b/README
index 53ccc0aab7d8c73ac86c7869e68eeed14a0deccc..28e235ced65f82a885212f1e08e5b155f92e520c 100644 (file)
--- 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 [...]