Changes between Version 11 and Version 12 of SharedLibraries


Ignore:
Timestamp:
Jul 21, 2008 3:35:28 PM (6 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SharedLibraries

    v11 v12  
    6969== 3. libtool == 
    7070 
    71 !ToDo: can someone explain how libtool works and how we can use it? 
     71libtool hides the building of shared and static libraries and executables behind a single simple command-line interface.  It hides the details of how to build executables against uninstalled shared libraries, and how to install those executables, on multiple platforms. 
     72 
     73When building an object file for a library, libtool builds both the PIC and non-PIC versions. 
     74 
     75When building a library, libtool builds both the shared and static version, and remembers where the shared version will be installed later (you have to supply this path when building the library). 
     76 
     77When building an executable against shared libraries, libtool creates a script instead.  The script relinks the executable against uninstalled shared libraries (using `-rpath` on Linux) on demand, caches the resulting executable in `.libs`. 
    7278 
    7379= Platform support for locating shared libraries =