summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2010-08-11 15:35:54 -0400
committerPaolo Bonzini <bonzini@gnu.org>2010-08-15 18:45:39 +0200
commitd32c96ccd6dacf2c60504a6b847e3d82400adfac (patch)
treed10a0f6ac8b68cfd8a933667f68a67cb021d7b64 /doc
parent55e986b8b4a3582998946c1a13e411d3122a7610 (diff)
downloadlibtool-d32c96ccd6dacf2c60504a6b847e3d82400adfac.tar.gz
add libtool --mode=finish mode for sysroot
* doc/libtool.texi (Finish mode): Document behavior when *.la files are passed. * libltdl/config/ltmain.m4sh (func_mode_finish): Eliminate sysroot or `=' signs representing it from files in $libs. * tests/sysroot.at (SYSROOT_TESTS): Test for presence of sysroot references before running libtool --mode=finish, and for absence afterwards.
Diffstat (limited to 'doc')
-rw-r--r--doc/libtool.texi18
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 914bd1d8..4b256bf0 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1721,12 +1721,18 @@ commands are also completed.
@cindex finish mode
@cindex mode, finish
-@dfn{Finish} mode helps system administrators install libtool libraries
-so that they can be located and linked into user programs.
-
-Each @var{mode-arg} is interpreted as the name of a library directory.
-Running this command may require superuser privileges, so the
-@option{--dry-run} option may be useful.
+@dfn{Finish} mode has two functions. One is to help system administrators
+install libtool libraries so that they can be located and linked into
+user programs. To invoke this functionality, pass the name of a library
+directory as @var{mode-arg}. Running this command may require superuser
+privileges, and the @option{--dry-run} option may be useful.
+
+The second is to facilitate transferring libtool libraries to a native
+compilation environment after they were built in a cross-compilation
+environment. Cross-compilation environments may rely on recent libtool
+features, and running libtool in finish mode will make it easier to
+work with older versions of libtool. This task is performed whenever
+the @var{mode-arg} is a @samp{.la} file.
@node Uninstall mode
@section Uninstall mode