source: chapter08/libtool.xml@ 5d2d864

multilib xry111/multilib
Last change on this file since 5d2d864 was 5d2d864, checked in by Thomas Trepl <thomas@…>, 8 months ago

Automatic merge of trunk into multilib

  • Property mode set to 100644
File size: 5.6 KB
RevLine 
[7152faa]1<?xml version="1.0" encoding="UTF-8"?>
[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.
[7c263b6]27 It makes the use of shared libraries simpler with a consistent, portable
[bdea25ce]28 interface.</para>
[73aedd1d]29
[bdea25ce]30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
[73aedd1d]33
[bdea25ce]34 <seglistitem>
[6dfcfecc]35 <seg>&libtool-fin-sbu;</seg>
36 <seg>&libtool-fin-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
[2844cde]55<screen><userinput remap="test">make -k check</userinput></screen>
[81fd230]56
[bfd117b]57 <para>Five tests are known to fail in the LFS build environment due
[2844cde]58 to a circular dependency, but these tests pass if rechecked after
[7c263b6]59 automake has been installed. Additionally, with grep-3.8, two tests will
[2844cde]60 trigger a warning for non-POSIX regular expressions and fail.</para>
[48a987b]61
[bdea25ce]62 <para>Install the package:</para>
[81fd230]63
[0445a3d]64<screen><userinput remap="install">make install</userinput></screen>
[673b0d8]65
[a5c2803]66 <!-- dev: - -disable-static works but causes additional test failures
67 so we manually remove the static library -->
68
[c522873]69 <para>Remove a useless static library:</para>
[a5c2803]70
71<screen><userinput remap="install">rm -fv /usr/lib/libltdl.a</userinput></screen>
72
[bdea25ce]73 </sect2>
74
[6dfcfecc]75 <!-- - - - - - - - - - -->
76 <!-- Multilib - 32bit -->
77 <!-- - - - - - - - - - -->
[fd48baa]78
79 <sect2 arch="ml_32,ml_all" role="installation">
[6dfcfecc]80 <title>Installation of Libtool - 32bit</title>
[b3f1ebb3]81
82 <para>Clean previous build:</para>
83
84<screen><userinput remap="pre">make distclean</userinput></screen>
85
86 <para>Prepare Libtool for compilation:</para>
87
88<screen><userinput remap="configure">CC="gcc -m32" ./configure \
[70aadfb]89 --host=i686-pc-linux-gnu \
90 --prefix=/usr \
91 --libdir=/usr/lib32</userinput></screen>
[b3f1ebb3]92
93 <para>Compile the package:</para>
94
95<screen><userinput remap="make">make</userinput></screen>
96
97 <para>Install the package:</para>
98
[6dfcfecc]99<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
[0ebda11]100cp -Rv DESTDIR/usr/lib32/* /usr/lib32
[b3f1ebb3]101rm -rf DESTDIR</userinput></screen>
102
[6dfcfecc]103 </sect2><!-- m32 -->
[b3f1ebb3]104
[6dfcfecc]105 <!-- - - - - - - - - - -->
106 <!-- Multilib - x32bit -->
107 <!-- - - - - - - - - - -->
[fd48baa]108
109 <sect2 arch="ml_x32,ml_all" role="installation">
[6dfcfecc]110 <title>Installation of Libtool - x32bit</title>
[b3f1ebb3]111
112 <para>Clean previous build:</para>
113
114<screen><userinput remap="pre">make distclean</userinput></screen>
115
116 <para>Prepare Libtool for compilation:</para>
117
[0aaf6a31]118<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
[70aadfb]119 --host=x86_64-pc-linux-gnux32 \
120 --prefix=/usr \
121 --libdir=/usr/libx32</userinput></screen>
[b3f1ebb3]122
123 <para>Compile the package:</para>
124
125<screen><userinput remap="make">make</userinput></screen>
126
127 <para>Install the package:</para>
128
[6dfcfecc]129<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
[0ebda11]130cp -Rv DESTDIR/usr/libx32/* /usr/libx32
[b3f1ebb3]131rm -rf DESTDIR</userinput></screen>
132
[6dfcfecc]133 </sect2><!-- mx32 -->
[b3f1ebb3]134
[bdea25ce]135 <sect2 id="contents-libtool" role="content">
136 <title>Contents of Libtool</title>
137
138 <segmentedlist>
139 <segtitle>Installed programs</segtitle>
140 <segtitle>Installed libraries</segtitle>
[fe05b08]141 <segtitle>Installed directories</segtitle>
[bdea25ce]142
143 <seglistitem>
144 <seg>libtool and libtoolize</seg>
[040ecb6]145 <seg>libltdl.so</seg>
[7bb9fda]146 <seg>/usr/include/libltdl and /usr/share/libtool</seg>
[bdea25ce]147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="libtool">
156 <term><command>libtool</command></term>
157 <listitem>
158 <para>Provides generalized library-building support services</para>
159 <indexterm zone="ch-system-libtool libtool">
160 <primary sortas="b-libtool">libtool</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="libtoolize">
166 <term><command>libtoolize</command></term>
167 <listitem>
168 <para>Provides a standard way to add <command>libtool</command>
169 support to a package</para>
170 <indexterm zone="ch-system-libtool libtoolize">
171 <primary sortas="b-libtoolize">libtoolize</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="libltdl">
177 <term><filename class="libraryfile">libltdl</filename></term>
178 <listitem>
[3c07bb9]179 <para>Hides the various difficulties of opening dynamically loaded libraries</para>
[bdea25ce]180 <indexterm zone="ch-system-libtool libltdl">
181 <primary sortas="c-libltdl">libltdl</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
[673b0d8]189
190</sect1>
Note: See TracBrowser for help on using the repository browser.