2005-04-05 01:38:31 +08:00
|
|
|
@itemize
|
|
|
|
|
2007-02-25 23:33:24 +08:00
|
|
|
@item
|
|
|
|
You currently need GNU make to build the Libtool package itself.
|
|
|
|
|
2005-04-05 01:38:31 +08:00
|
|
|
@item
|
maint: correct many abuses of the word "which".
* HACKING, NEWS, TODO, bootstrap, bootstrap.conf,
build-aux/ltmain.in, cfg.mk, configure.ac, doc/libtool.texi,
doc/notes.texi, gl/build-aux/bootstrap.in,
gl/build-aux/extract-trace, gl/build-aux/funclib.sh,
gl/doc/bootstrap.texi, libltdl/libltdl/lt_system.h,
libltdl/loaders/loadlibrary.c, libltdl/lt__strl.c,
libltdl/lt_dlloader.c, libltdl/ltdl.c, libtoolize.in,
m4/libtool.m4, m4/ltdl.m4, m4/ltsugar.m4, m4/lt~obsolete.m4,
tests/exceptions.at, tests/need_lib_prefix.at, tests/static.at:
Use "which" correctly, or replace with "that", "where" or "what"
as appropriate.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2013-08-23 12:12:57 +08:00
|
|
|
On AIX there are two different styles of shared linking, one where symbols
|
|
|
|
are bound at link-time and one where symbols are bound at runtime only,
|
2005-04-05 01:38:31 +08:00
|
|
|
similar to ELF@. In case of doubt use @code{LDFLAGS=-Wl,-brtl} for the latter style.
|
|
|
|
|
2008-01-15 05:34:19 +08:00
|
|
|
@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
|
|
|
|
|
2005-04-05 01:38:31 +08:00
|
|
|
@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
|
|
|
|
@code{CXX='pgCC --one_instantiation_per_object'} and avoid parallel @command{make}.
|
|
|
|
|
2024-03-14 01:08:54 +08:00
|
|
|
@item
|
2024-08-14 03:56:00 +08:00
|
|
|
For C++ code, it may be necessary to specify a library if it is a dependency
|
2024-03-14 01:08:54 +08:00
|
|
|
of a link/compile flag. For example in GNU G++, if you want to use
|
2024-05-11 15:52:47 +08:00
|
|
|
@code{-fsanitize=address} you need to specify the @code{-lasan} library,
|
2024-03-14 01:08:54 +08:00
|
|
|
like so: @code{g++ -o libx.la -fsanitize=address -lasan -rpath [...]}.
|
|
|
|
|
2007-02-24 16:46:19 +08:00
|
|
|
@item
|
|
|
|
On Darwin, for C++ code with templates you need two level shared libraries.
|
|
|
|
Libtool builds these by default if @env{MACOSX_DEPLOYMENT_TARGET} is set to
|
|
|
|
10.3 or later at @command{configure} time. See @url{rdar://problem/4135857}
|
|
|
|
for more information on this issue.
|
|
|
|
|
2007-02-25 23:33:24 +08:00
|
|
|
@c @item
|
|
|
|
@c FreeBSD @command{make} does not conform to @sc{posix} in its handling
|
|
|
|
@c of file modification times, which causes it to loop while building libtool.
|
|
|
|
@c Consider using a different @command{such} as GNU make instead.
|
2005-04-05 01:38:31 +08:00
|
|
|
|
|
|
|
@item
|
|
|
|
The default shell on UNICOS 9, a ksh 88e variant, is too buggy to
|
|
|
|
correctly execute the libtool script. Users are advised to install a
|
|
|
|
modern shell such as GNU bash.
|
|
|
|
|
|
|
|
@item
|
|
|
|
Some HP-UX @command{sed} programs are horribly broken, and cannot handle
|
|
|
|
libtool's requirements, so users may report unusual problems. There
|
|
|
|
is no workaround except to install a working @command{sed} (such as GNU sed)
|
|
|
|
on these systems.
|
|
|
|
|
|
|
|
@item
|
|
|
|
The vendor-distributed NCR MP-RAS @command{cc} programs emits copyright
|
|
|
|
on standard error that confuse tests on size of @file{conftest.err}. The
|
|
|
|
workaround is to specify @env{CC} when run configure with
|
|
|
|
@code{CC='cc -Hnocopyr'}.
|
|
|
|
|
|
|
|
@item
|
|
|
|
Any earlier DG/UX system with ELF executables, such as R3.10 or
|
|
|
|
R4.10, is also likely to work, but hasn't been explicitly tested.
|
|
|
|
|
|
|
|
@item
|
|
|
|
On Reliant Unix libtool has only been tested with the Siemens C-compiler
|
|
|
|
and an old version of @command{gcc} provided by Marco Walther.
|
|
|
|
|
|
|
|
@item
|
|
|
|
@file{libtool.m4}, @file{ltdl.m4} and the @file{configure.ac} files are marked
|
|
|
|
to use autoconf-mode, which is distributed with GNU Emacs 21, Autoconf itself,
|
|
|
|
and all recent releases of XEmacs.
|
|
|
|
|
2008-01-24 14:55:36 +08:00
|
|
|
@item
|
2014-12-12 05:49:19 +08:00
|
|
|
When building on some GNU/Linux systems for multilib targets @command{libtool}
|
|
|
|
sometimes guesses the wrong paths that the linker and dynamic linker search by
|
|
|
|
default. If this occurs for the dynamic library path, you may use the
|
|
|
|
@code{LT_SYS_LIBRARY_PATH} environment variable to adjust. Otherwise, at
|
|
|
|
@command{configure} time you may override libtool's guesses by setting the
|
|
|
|
@command{autoconf} cache variables @code{lt_cv_sys_lib_search_path_spec} and
|
|
|
|
@code{lt_cv_sys_lib_dlsearch_path_spec} respectively.
|
2008-01-24 14:55:36 +08:00
|
|
|
|
2005-04-05 01:38:31 +08:00
|
|
|
@end itemize
|