source: chapter06/libtool.xml@ 8eb3fe4

multilib-10.1
Last change on this file since 8eb3fe4 was 8eb3fe4, checked in by Thomas Trepl <thomas@…>, 5 years ago

First apply of multilib-patch of April 1st, 2019

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11566 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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