/[libtool]/libtool/doc/libtool.texi
ViewVC logotype

Diff of /libtool/doc/libtool.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.116.2.2 by gary, Sun Sep 30 10:35:39 2001 UTC revision 1.116.2.3 by rboehne, Wed Nov 28 21:50:32 2001 UTC
# Line 1063  be executed by libtool. Line 1063  be executed by libtool.
1063  Display basic configuration options.  This provides a way for packages  Display basic configuration options.  This provides a way for packages
1064  to determine whether shared or static libraries will be built.  to determine whether shared or static libraries will be built.
1065    
1066    @item --preserve-dup-deps
1067    Do not remove duplicate dependencies in libraries.  When building packages
1068    with static libraries, the libraries may depend circularly on each other
1069    (shared libs can too, but for those it doesn't matter), so there are
1070    situations, where -la -lb -la is required, and the second -la may not be
1071    stripped or the link will fail.  In cases where these duplications are
1072    required, this option will preserve them, only stripping the libraries
1073    that libtool knows it can safely.
1074    
1075  @item --finish  @item --finish
1076  Same as @samp{--mode=finish}.  Same as @samp{--mode=finish}.
1077    
# Line 4106  they are bundled with: Line 4115  they are bundled with:
4115  @table @code  @table @code
4116  @item aix3*  @item aix3*
4117  @itemx aix4*  @itemx aix4*
4118  AIX compilers have no PIC flags, since AIX has been ported only to  Most AIX compilers have no PIC flags, since AIX (with the exception of
4119  PowerPC and RS/6000 chips. @footnote{All code compiled for the PowerPC  AIX for IA-64) runs on PowerPC and RS/6000 chips. @footnote{All code compiled
4120  and RS/6000 chips (@code{powerpc-*-*}, @code{powerpcle-*-*}, and  for the PowerPC and RS/6000 chips (@code{powerpc-*-*}, @code{powerpcle-*-*},
4121  @code{rs6000-*-*}) is position-independent, regardless of the operating  and @code{rs6000-*-*}) is position-independent, regardless of the operating
4122  system or compiler suite.  So, ``regular objects'' can be used to build  system or compiler suite.  So, ``regular objects'' can be used to build
4123  shared libraries on these systems and no special PIC compiler flags are  shared libraries on these systems and no special PIC compiler flags are
4124  required.}  required.}
# Line 4148  Particularly, if a pair of static archiv Line 4157  Particularly, if a pair of static archiv
4157  other's symbols, it might be necessary to list one of those archives  other's symbols, it might be necessary to list one of those archives
4158  both before and after the other one.  Libtool does not currently cope  both before and after the other one.  Libtool does not currently cope
4159  with this situation well, since dupicate libraries are removed from  with this situation well, since dupicate libraries are removed from
4160  thr link line.  the link line by default.  Libtool provides the command line option
4161    @samp{--preserve-dup-deps} to preserve all duplicate dependencies
4162  If you find yourself developing on a host that requires you to list  in cases where it is necessary.
 libraries multiple times in order for it to generate correctly linked  
 objects, you can defeat libtool's removal algorithm like this:  
   
 @example  
 $ libtool ... -lfoo -lbar -Wl,-lfoo  
 @end example  
4163    
4164  @node Archivers  @node Archivers
4165  @subsection Archivers  @subsection Archivers

Legend:
Removed from v.1.116.2.2  
changed lines
  Added in v.1.116.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26