[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[6370fa6] | 7 |
|
---|
[bdea25ce] | 8 | <sect1 id="ch-system-libtool" role="wrap">
|
---|
| 9 | <?dbhtml filename="libtool.html"?>
|
---|
[5888299] | 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>libtool</productname>
|
---|
| 13 | <productnumber>&libtool-version;</productnumber>
|
---|
| 14 | <address>&libtool-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[bdea25ce] | 17 | <title>Libtool-&libtool-version;</title>
|
---|
[673b0d8] | 18 |
|
---|
[bdea25ce] | 19 | <indexterm zone="ch-system-libtool">
|
---|
| 20 | <primary sortas="a-Libtool">Libtool</primary>
|
---|
| 21 | </indexterm>
|
---|
[3554fa3a] | 22 |
|
---|
[bdea25ce] | 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[73aedd1d] | 25 |
|
---|
[bdea25ce] | 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>
|
---|
[73aedd1d] | 29 |
|
---|
[bdea25ce] | 30 | <segmentedlist>
|
---|
| 31 | <segtitle>&buildtime;</segtitle>
|
---|
| 32 | <segtitle>&diskspace;</segtitle>
|
---|
[73aedd1d] | 33 |
|
---|
[bdea25ce] | 34 | <seglistitem>
|
---|
[e4a5635] | 35 | <seg>&libtool-ch6-sbu;</seg>
|
---|
| 36 | <seg>&libtool-ch6-du;</seg>
|
---|
[bdea25ce] | 37 | </seglistitem>
|
---|
| 38 | </segmentedlist>
|
---|
[73aedd1d] | 39 |
|
---|
[bdea25ce] | 40 | </sect2>
|
---|
[73aedd1d] | 41 |
|
---|
[bdea25ce] | 42 | <sect2 role="installation">
|
---|
| 43 | <title>Installation of Libtool</title>
|
---|
[73aedd1d] | 44 |
|
---|
[bdea25ce] | 45 | <para>Prepare Libtool for compilation:</para>
|
---|
[6370fa6] | 46 |
|
---|
[0445a3d] | 47 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
[5888299] | 48 |
|
---|
[bdea25ce] | 49 | <para>Compile the package:</para>
|
---|
[81fd230] | 50 |
|
---|
[0445a3d] | 51 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[81fd230] | 52 |
|
---|
[b2c61c6] | 53 | <para>To test the results<!--(about 11.0 SBU)-->, issue:</para>
|
---|
[0445a3d] | 54 |
|
---|
| 55 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[81fd230] | 56 |
|
---|
[093f319] | 57 | <note><para>The test time for libtool can be reduced significantly on a
|
---|
[3b77546] | 58 | system with multiple cores. To do this, append
|
---|
| 59 | <command>TESTSUITEFLAGS=-j<N></command> to the line above. For
|
---|
| 60 | instance, using -j4 can reduce the test time by over 60
|
---|
| 61 | percent.</para></note>
|
---|
| 62 |
|
---|
[bfd117b] | 63 | <para>Five tests are known to fail in the LFS build environment due
|
---|
[a8ec8bf] | 64 | to a circular dependency, but all tests pass if rechecked after
|
---|
| 65 | automake is installed.</para>
|
---|
[48a987b] | 66 |
|
---|
[bdea25ce] | 67 | <para>Install the package:</para>
|
---|
[81fd230] | 68 |
|
---|
[0445a3d] | 69 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[673b0d8] | 70 |
|
---|
[bdea25ce] | 71 | </sect2>
|
---|
| 72 |
|
---|
[fd48baa] | 73 | <!-- ~~~~~~~~~~~~~~~~~~~~ ABI 32 ~~~~~~~~~~~~~~~~~~~~ -->
|
---|
| 74 |
|
---|
| 75 | <sect2 arch="ml_32,ml_all" role="installation">
|
---|
[b3f1ebb3] | 76 | <title>Installation of Libtool - 32-bit</title>
|
---|
| 77 |
|
---|
| 78 | <para>Clean previous build:</para>
|
---|
| 79 |
|
---|
| 80 | <screen><userinput remap="pre">make distclean</userinput></screen>
|
---|
| 81 |
|
---|
| 82 | <para>Prepare Libtool for compilation:</para>
|
---|
| 83 |
|
---|
| 84 | <screen><userinput remap="configure">CC="gcc -m32" ./configure \
|
---|
| 85 | --prefix=/usr \
|
---|
| 86 | --libdir=/usr/lib32 \
|
---|
| 87 | --host=i686-pc-linux-gnu</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>Compile the package:</para>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | <para>Install the package:</para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput remap="install">make DESTDIR=$(pwd)/DESTDIR install
|
---|
| 96 | cp -Rv DESTDIR/usr/lib32/* /usr/lib32
|
---|
| 97 | rm -rf DESTDIR</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
[fd48baa] | 101 | <!-- ~~~~~~~~~~~~~~~~~~~~ ABI x32 ~~~~~~~~~~~~~~~~~~~~ -->
|
---|
| 102 |
|
---|
| 103 | <sect2 arch="ml_x32,ml_all" role="installation">
|
---|
[b3f1ebb3] | 104 | <title>Installation of Libtool - x32-bit</title>
|
---|
| 105 |
|
---|
| 106 | <para>Clean previous build:</para>
|
---|
| 107 |
|
---|
| 108 | <screen><userinput remap="pre">make distclean</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | <para>Prepare Libtool for compilation:</para>
|
---|
| 111 |
|
---|
| 112 | <screen><userinput remap="configure">
|
---|
| 113 | CC="gcc -mx32" ./configure \
|
---|
| 114 | --prefix=/usr \
|
---|
| 115 | --libdir=/usr/libx32 \
|
---|
| 116 | --host=x86_64-pc-linux-gnux32</userinput></screen>
|
---|
| 117 |
|
---|
| 118 | <para>Compile the package:</para>
|
---|
| 119 |
|
---|
| 120 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | <para>Install the package:</para>
|
---|
| 123 |
|
---|
| 124 | <screen><userinput remap="install">make DESTDIR=$(pwd)/DESTDIR install
|
---|
| 125 | cp -Rv DESTDIR/usr/libx32/* /usr/libx32
|
---|
| 126 | rm -rf DESTDIR</userinput></screen>
|
---|
| 127 |
|
---|
| 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 |
|
---|
[bdea25ce] | 131 | <sect2 id="contents-libtool" role="content">
|
---|
| 132 | <title>Contents of Libtool</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed programs</segtitle>
|
---|
| 136 | <segtitle>Installed libraries</segtitle>
|
---|
[fe05b08] | 137 | <segtitle>Installed directories</segtitle>
|
---|
[bdea25ce] | 138 |
|
---|
| 139 | <seglistitem>
|
---|
| 140 | <seg>libtool and libtoolize</seg>
|
---|
[040ecb6] | 141 | <seg>libltdl.so</seg>
|
---|
[7bb9fda] | 142 | <seg>/usr/include/libltdl and /usr/share/libtool</seg>
|
---|
[bdea25ce] | 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="libtool">
|
---|
| 152 | <term><command>libtool</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>Provides generalized library-building support services</para>
|
---|
| 155 | <indexterm zone="ch-system-libtool libtool">
|
---|
| 156 | <primary sortas="b-libtool">libtool</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="libtoolize">
|
---|
| 162 | <term><command>libtoolize</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>Provides a standard way to add <command>libtool</command>
|
---|
| 165 | support to a package</para>
|
---|
| 166 | <indexterm zone="ch-system-libtool libtoolize">
|
---|
| 167 | <primary sortas="b-libtoolize">libtoolize</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="libltdl">
|
---|
| 173 | <term><filename class="libraryfile">libltdl</filename></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>Hides the various difficulties of dlopening libraries</para>
|
---|
| 176 | <indexterm zone="ch-system-libtool libltdl">
|
---|
| 177 | <primary sortas="c-libltdl">libltdl</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | </variablelist>
|
---|
| 183 |
|
---|
| 184 | </sect2>
|
---|
[673b0d8] | 185 |
|
---|
| 186 | </sect1>
|
---|