From: Ralf Wildenhues Date: Mon, 14 Jan 2008 21:34:19 +0000 (+0000) Subject: * doc/notes.texi: Mention AIX binutils deficiency for C++ code. X-Git-Tag: release-2-1b~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=933e03ce105bdb78167b81a28b7684be9caddf55;p=thirdparty%2Flibtool.git * doc/notes.texi: Mention AIX binutils deficiency for C++ code. Report by Rainer Tammer. Suggest using bash for configure. --- diff --git a/ChangeLog b/ChangeLog index 8a6f092b5..9a1c7c302 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +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. + * libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Fix to use new _LT_SET_OPTION semantics. diff --git a/doc/notes.texi b/doc/notes.texi index 995c9f974..b233bb72d 100644 --- a/doc/notes.texi +++ b/doc/notes.texi @@ -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