source: BOOK/final-system/multilib/libtool.xml@ c66a096

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c66a096 was aa18ac0, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Updated trunk book sources to use DocBook-XML DTD 4.5.

  • Property mode set to 100644
File size: 3.5 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-32" role="wrap">
9 <?dbhtml filename="libtool.html"?>
10
11 <title>Libtool-&libtool-version; 32 Bit Libraries</title>
12
13<!-- with the introduction of an LDEMULATION on make check, to fix a test
14 failure which has appeared for unknown reasons, this text is now specific
15 to mips -o32. -->
16
17 <indexterm zone="ch-system-libtool-32">
18 <primary sortas="a-Libtool">Libtool</primary>
19 <secondary>32 Bit</secondary>
20 </indexterm>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="../common/libtool.xml"
24 xpointer="xpointer(//*[@role='package'])"/>
25
26 <sect2 role="installation">
27 <title>Installation of Libtool</title>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../common/libtool.xml"
31 xpointer="xpointer(//*[@os='a'])"/>
32
33<screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../common/libtool.xml"
37 xpointer="xpointer(//*[@os='c'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../common/libtool.xml"
41 xpointer="xpointer(//*[@os='d'])"/>
42
43 <para os="e">To test the results, first identify whether you are on a big- or
44 little-endian machine. SGI machines are usually big-endian, Cobalt are
45 usually little-endian. If in doubt you can <command>echo ${MACHTYPE} | grep 'el-'
46 </command>- this will match a little-endian machine.</para>
47
48 <para os="e2">To test on a little-endian machine issue:
49 <userinput>make LDEMULATION=elf32ltsmip check</userinput>.</para>
50
51 <para os="e1">To test on a big-endian machine issue:
52 <userinput>make LDEMULATION=elf32btsmip check</userinput>.</para>
53
54 <variablelist os="c">
55 <title>The meaning of the override on make check:</title>
56
57 <varlistentry>
58 <term><parameter>LDEMULATION=[emulation]</parameter></term>
59 <!-- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../ppc64/libtool.xml"
61 xpointer="xpointer(//*[@os='c2'])"/> -->
62 <listitem os="c2">
63 <para>Libtool tends to do the wrong thing when building for multilib,
64 at least on the non-default size(s) of architecture. The causes of
65 these errors are not well understood and they can appear, or disappear,
66 as a result of apparently innocuous other changes in the build. In
67 this version of the book, one of the tests (pdemo-make) fails to link
68 because it tries to link the 32-bit objects against 64-bit system
69 libraries. This option enables the test to succeed without impacting
70 the other tests (compare the common alternative fixes of
71 <literal>LD="gcc ${BUILD32}"</literal> which causes far fewer tests
72 to be executed, and configuring with
73 <literal>LDFLAGS='-L/lib -L/usr/lib'</literal> which in this case
74 causes other tests to fail.)</para>
75 </listitem>
76 </varlistentry>
77
78 </variablelist>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../common/libtool.xml"
82 xpointer="xpointer(//*[@os='f'])"/>
83
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="../common/libtool.xml"
86 xpointer="xpointer(//*[@os='g'])"/>
87
88 </sect2>
89
90 <sect2 role="content">
91 <title/>
92
93 <para>Details on this package are located in <xref
94 linkend="contents-libtool" role="."/></para>
95
96 </sect2>
97
98</sect1>
Note: See TracBrowser for help on using the repository browser.