From b16ed24c4a17ef601d626f9ea0af3871ca9089cc Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Fri, 30 Nov 2007 04:19:20 +0000 Subject: [PATCH] * doc/libtool.texi (Linking executables): Reorder paragraphs. --- ChangeLog | 4 ++++ doc/libtool.texi | 13 ++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb1a4cc11..20dc50f99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-30 Stefan Sperling (tiny change) + + * doc/libtool.texi (Linking executables): Reorder paragraphs. + 2007-11-15 Ralf Wildenhues Avoid mixing functions and data pointers in callback functions. diff --git a/doc/libtool.texi b/doc/libtool.texi index 4f923551c..aabeca99e 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -714,6 +714,12 @@ burger$ Note that libtool added the necessary run-time path flag, as well as @samp{-lm}, the library libhello.la depended upon. Nice, huh? +@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 @@ -721,13 +727,6 @@ the wrapper script. Libtool could probably be made smarter to avoid the creation of the wrapper script in this case, but this is left as an exercise for the reader. - -@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. - 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 -- 2.47.2