]> 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:19 +0000 (21:34 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 14 Jan 2008 21:34:19 +0000 (21:34 +0000)
Report by Rainer Tammer.
Suggest using bash for configure.

ChangeLog
doc/notes.texi

index 8a6f092b51b5188bdad679f0f1da7e8b082dfef0..9a1c7c302e3add60e977be04c550238d0b4d784b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +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.
+
        * libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Fix to use
        new _LT_SET_OPTION semantics.
 
index 995c9f974e374b1a0990c49715f2e22c00b9c3c7..b233bb72d04a255ff8a81ef9c20ac05a0d8dbbf8 100644 (file)
@@ -8,6 +8,19 @@ 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 @code{LDFLAGS=-Wl,-brtl} for the latter style.
 
+@item
+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
+@code{AR=/usr/bin/ar LD=/usr/bin/ld NM='/usr/bin/nm -B'}.
+
+@item
+On AIX, the @command{/bin/sh} is very slow due to its inefficient handling
+of here-documents.  A modern shell is preferable:
+@example
+CONFIG_SHELL=/bin/bash; export $CONFIG_SHELL
+$CONFIG_SHELL ./configure [...]
+@end example
+
 @item
 For C++ code with templates, it may be necessary to specify the way the compiler
 will generate the instantiations.  For Portland pgCC version5, use