source: BOOK/final-system/multilib/zlib-n32.xml@ 8bb75cec

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8bb75cec was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • 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.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-zlib-n32" role="wrap">
11 <?dbhtml filename="zlib-n32.html"?>
12
13 <title>Zlib-&zlib-version; N32 Libraries</title>
14
15 <indexterm zone="ch-system-zlib-n32">
16 <primary sortas="a-Zlib">Zlib</primary>
17 <secondary>N32</secondary>
18 </indexterm>
19
20 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../common/zlib.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../common/zlib.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Zlib</title>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="zlib.xml"
48 xpointer="xpointer(//*[@os='a'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="zlib.xml"
52 xpointer="xpointer(//*[@os='b'])"/>
53
54<screen><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
55 --shared --libdir=/lib32</userinput></screen>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="zlib.xml"
59 xpointer="xpointer(//*[@os='c'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="zlib.xml"
63 xpointer="xpointer(//*[@os='d'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="zlib.xml"
67 xpointer="xpointer(//*[@os='e'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="zlib.xml"
71 xpointer="xpointer(//*[@os='f'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="zlib.xml"
75 xpointer="xpointer(//*[@os='g'])"/>
76
77 <para>The previous command installed a <filename
78 class="extension">.so</filename> file in <filename
79 class="directory">/lib32</filename>. We will remove it and relink it into
80 <filename class="directory">/usr/lib32</filename>:</para>
81
82<screen><userinput>rm /lib32/libz.so
83ln -sf ../../lib32/libz.so.&zlib-version; /usr/lib32/libz.so</userinput></screen>
84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="zlib.xml"
87 xpointer="xpointer(//*[@os='j'])"/>
88
89<screen><userinput>make clean
90CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure \
91 --prefix=/usr --libdir=/usr/lib32
92make</userinput></screen>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="zlib.xml"
96 xpointer="xpointer(//*[@os='k'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="zlib.xml"
100 xpointer="xpointer(//*[@os='l'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="zlib.xml"
104 xpointer="xpointer(//*[@os='m'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="zlib.xml"
108 xpointer="xpointer(//*[@os='n'])"/>
109
110<screen><userinput>chmod 644 /usr/lib32/libz.a</userinput></screen>
111
112 </sect2>
113
114 <sect2 role="content">
115 <title/>
116
117 <para>Details on this package are located in <xref
118 linkend="contents-zlib" role="."/></para>
119
120 </sect2>
121
122</sect1>
Note: See TracBrowser for help on using the repository browser.