LFS-systemd-7.8
[linux_from_scratch.git] / chapter06 / libtool.xml
blob5ad81b563189b61f58431148fa48d2b4b53ac82e
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4   <!ENTITY % general-entities SYSTEM "../general.ent">
5   %general-entities;
6 ]>
8 <sect1 id="ch-system-libtool" role="wrap">
9   <?dbhtml filename="libtool.html"?>
11   <sect1info condition="script">
12     <productname>libtool</productname>
13     <productnumber>&libtool-version;</productnumber>
14     <address>&libtool-url;</address>
15   </sect1info>
17   <title>Libtool-&libtool-version;</title>
19   <indexterm zone="ch-system-libtool">
20     <primary sortas="a-Libtool">Libtool</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The Libtool package contains the GNU generic library support script.
27     It wraps the complexity of using shared libraries in a consistent, portable
28     interface.</para>
30     <segmentedlist>
31       <segtitle>&buildtime;</segtitle>
32       <segtitle>&diskspace;</segtitle>
34       <seglistitem>
35         <seg>&libtool-ch6-sbu;</seg>
36         <seg>&libtool-ch6-du;</seg>
37       </seglistitem>
38     </segmentedlist>
40   </sect2>
42   <sect2 role="installation">
43     <title>Installation of Libtool</title>
45     <para>Prepare Libtool for compilation:</para>
47 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
49     <para>Compile the package:</para>
51 <screen><userinput remap="make">make</userinput></screen>
53     <para>To test the results (about 11.0 SBU), issue:</para>
55 <screen><userinput remap="test">make check</userinput></screen>
57     <para>Five tests are known to fail in the LFS build envronment due
58     to a circular dependency, but all tests pass if rechecked after 
59     automake is installed.</para>
61     <para>Install the package:</para>
63 <screen><userinput remap="install">make install</userinput></screen>
65   </sect2>
68   <sect2 id="contents-libtool" role="content">
69     <title>Contents of Libtool</title>
71     <segmentedlist>
72       <segtitle>Installed programs</segtitle>
73       <segtitle>Installed libraries</segtitle>
74       <segtitle>Installed directories</segtitle>
76       <seglistitem>
77         <seg>libtool and libtoolize</seg>
78         <seg>libltdl.{a,so}</seg>
79         <seg>/usr/include/libltdl and /usr/share/libtool</seg>
80       </seglistitem>
81     </segmentedlist>
83     <variablelist>
84       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
85       <?dbfo list-presentation="list"?>
86       <?dbhtml list-presentation="table"?>
88       <varlistentry id="libtool">
89         <term><command>libtool</command></term>
90         <listitem>
91           <para>Provides generalized library-building support services</para>
92           <indexterm zone="ch-system-libtool libtool">
93             <primary sortas="b-libtool">libtool</primary>
94           </indexterm>
95         </listitem>
96       </varlistentry>
98       <varlistentry id="libtoolize">
99         <term><command>libtoolize</command></term>
100         <listitem>
101           <para>Provides a standard way to add <command>libtool</command>
102           support to a package</para>
103           <indexterm zone="ch-system-libtool libtoolize">
104             <primary sortas="b-libtoolize">libtoolize</primary>
105           </indexterm>
106         </listitem>
107       </varlistentry>
109       <varlistentry id="libltdl">
110         <term><filename class="libraryfile">libltdl</filename></term>
111         <listitem>
112           <para>Hides the various difficulties of dlopening libraries</para>
113           <indexterm zone="ch-system-libtool libltdl">
114             <primary sortas="c-libltdl">libltdl</primary>
115           </indexterm>
116         </listitem>
117       </varlistentry>
119     </variablelist>
121   </sect2>
123 </sect1>