* doc/libtool.texi (Linking executables): Reorder paragraphs.

This commit is contained in:
Stefan Sperling 2007-11-30 04:18:40 +00:00 committed by Ralf Wildenhues
parent 93a9cf2f9a
commit 76c6f64133
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2007-11-30 Stefan Sperling <stsp@elego.de> (tiny change)
* doc/libtool.texi (Linking executables): Reorder paragraphs.
2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: The IBM

View File

@ -785,18 +785,17 @@ burger$
Note that libtool added the necessary run-time path flag, as well as
@option{-lm}, the library libhello.la depended upon. Nice, huh?
Since libtool created a wrapper script, you should use libtool to
install it and debug it too. However, since the program does not depend
on any uninstalled libtool library, it is probably usable even without
the wrapper script.
@cindex wrapper scripts for programs
@cindex program wrapper scripts
Notice that the executable, @code{hell}, was actually created in the
@file{@value{objdir}} subdirectory. Then, a wrapper script was created
in the current directory.
Since libtool created a wrapper script, you should use libtool to
install it and debug it too. However, since the program does not depend
on any uninstalled libtool library, it is probably usable even without
the wrapper script.
On NetBSD 1.2, libtool encodes the installation directory of
@file{libhello}, by using the @samp{-R/usr/local/lib} compiler flag.
Then, the wrapper script guarantees that the executable finds the