"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/libtool.info" between
libtool-2.4.5.tar.gz and libtool-2.4.6.tar.gz

About: GNU libtool is a generic library support script that hides the complexity of using shared libraries behind a consistent, portable interface.

libtool.info  (libtool-2.4.5):libtool.info  (libtool-2.4.6)
File: libtool.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir) File: libtool.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)
Shared library support for GNU Shared library support for GNU
****************************** ******************************
This file documents GNU Libtool, a script that allows package developers This file documents GNU Libtool, a script that allows package developers
to provide generic shared library support. This edition documents to provide generic shared library support. This edition documents
version 2.4.5. version 2.4.6.
*Note Reporting bugs::, for information on how to report problems *Note Reporting bugs::, for information on how to report problems
with GNU Libtool. with GNU Libtool.
* Menu: * Menu:
* Introduction:: What the heck is libtool? * Introduction:: What the heck is libtool?
* Libtool paradigm:: How libtool's view of libraries is different. * Libtool paradigm:: How libtool's view of libraries is different.
* Using libtool:: Example of using libtool to build libraries. * Using libtool:: Example of using libtool to build libraries.
* Invoking libtool:: Running the 'libtool' script. * Invoking libtool:: Running the 'libtool' script.
skipping to change at line 443 skipping to change at line 443
gcc -g -O -c hello.c -o hello.o gcc -g -O -c hello.c -o hello.o
a23$ a23$
Note that libtool silently creates an additional control file on each Note that libtool silently creates an additional control file on each
'compile' invocation. The '.lo' file is the libtool object, which 'compile' invocation. The '.lo' file is the libtool object, which
Libtool uses to determine what object file may be built into a shared Libtool uses to determine what object file may be built into a shared
library. On 'a23', only static libraries are supported so the library library. On 'a23', only static libraries are supported so the library
objects look like this: objects look like this:
# foo.lo - a libtool object file # foo.lo - a libtool object file
# Generated by ltmain.sh (GNU libtool) 2.4.5 # Generated by ltmain.sh (GNU libtool) 2.4.6
# #
# Please DO NOT delete this file! # Please DO NOT delete this file!
# It is necessary for linking the library. # It is necessary for linking the library.
# Name of the PIC object. # Name of the PIC object.
pic_object=none pic_object=none
# Name of the non-PIC object. # Name of the non-PIC object.
non_pic_object='foo.o' non_pic_object='foo.o'
skipping to change at line 472 skipping to change at line 472
burger$ burger$
Note that Libtool automatically created '.libs' directory upon its Note that Libtool automatically created '.libs' directory upon its
first execution, where PIC library object files will be stored. first execution, where PIC library object files will be stored.
Since 'burger' supports shared libraries, and requires PIC objects to Since 'burger' supports shared libraries, and requires PIC objects to
build them, Libtool has compiled a PIC object this time, and made a note build them, Libtool has compiled a PIC object this time, and made a note
of it in the libtool object: of it in the libtool object:
# foo.lo - a libtool object file # foo.lo - a libtool object file
# Generated by ltmain.sh (GNU libtool) 2.4.5 # Generated by ltmain.sh (GNU libtool) 2.4.6
# #
# Please DO NOT delete this file! # Please DO NOT delete this file!
# It is necessary for linking the library. # It is necessary for linking the library.
# Name of the PIC object. # Name of the PIC object.
pic_object='.libs/foo.o' pic_object='.libs/foo.o'
# Name of the non-PIC object. # Name of the non-PIC object.
non_pic_object='foo.o' non_pic_object='foo.o'
skipping to change at line 1852 skipping to change at line 1852
to the 'configure' script so that the generated libtool script will to the 'configure' script so that the generated libtool script will
understand the characteristics of the host. It's the most important of understand the characteristics of the host. It's the most important of
a number of macros defined by Libtool: a number of macros defined by Libtool:
-- Macro: LT_PREREQ (VERSION) -- Macro: LT_PREREQ (VERSION)
Ensure that a recent enough version of Libtool is being used. If Ensure that a recent enough version of Libtool is being used. If
the version of Libtool used for 'LT_INIT' is earlier than VERSION, the version of Libtool used for 'LT_INIT' is earlier than VERSION,
print an error message to the standard error output and exit with print an error message to the standard error output and exit with
failure (exit status is 63). For example: failure (exit status is 63). For example:
LT_PREREQ([2.4.5]) LT_PREREQ([2.4.6])
-- Macro: LT_INIT (OPTIONS) -- Macro: LT_INIT (OPTIONS)
-- Macro: AC_PROG_LIBTOOL -- Macro: AC_PROG_LIBTOOL
-- Macro: AM_PROG_LIBTOOL -- Macro: AM_PROG_LIBTOOL
Add support for the '--enable-shared', '--disable-shared', Add support for the '--enable-shared', '--disable-shared',
'--enable-static', '--disable-static', '--with-pic', and '--enable-static', '--disable-static', '--with-pic', and
'--without-pic' 'configure' flags.(1) 'AC_PROG_LIBTOOL' and '--without-pic' 'configure' flags.(1) 'AC_PROG_LIBTOOL' and
'AM_PROG_LIBTOOL' are deprecated names for older versions of this 'AM_PROG_LIBTOOL' are deprecated names for older versions of this
macro; 'autoupdate' will upgrade your 'configure.ac' files. macro; 'autoupdate' will upgrade your 'configure.ac' files.
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS