source: final-system/multilib/zlib-n32.xml@ 3962f52

Last change on this file since 3962f52 was dd9906e, checked in by Jim Gifford <clfs@…>, 19 years ago

r1167@server (orig r1165): chris | 2006-02-11 08:13:02 -0800
Added -v to commands in the rest of the book

  • Property mode set to 100644
File size: 2.6 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 %general-entities;
6]>
7
8<sect1 id="ch-system-zlib-n32" role="wrap">
9 <?dbhtml filename="zlib-n32.html"?>
10
11 <title>Zlib-&zlib-version; N32 Libraries</title>
12
13 <indexterm zone="ch-system-zlib-n32">
14 <primary sortas="a-Zlib">Zlib</primary>
15 <secondary>N32</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../common/zlib.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Zlib</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="zlib.xml"
27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="zlib.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="zlib.xml"
35 xpointer="xpointer(//*[@os='a'])"/>
36
37<screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
38 --shared --libdir=/usr/lib32</userinput></screen>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="zlib.xml"
42 xpointer="xpointer(//*[@os='c'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="zlib.xml"
46 xpointer="xpointer(//*[@os='d'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="zlib.xml"
50 xpointer="xpointer(//*[@os='e'])"/>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="zlib.xml"
54 xpointer="xpointer(//*[@os='f'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="zlib.xml"
58 xpointer="xpointer(//*[@os='g'])"/>
59
60 <para os="h">The previous command installed a <filename
61 class="extension">.so</filename> file in <filename
62 class="directory">/usr/lib32</filename>. We will remove itinto
63 <filename class="directory">/lib32</filename> and then relink it
64 to <filename class="directory">/usr/lib32</filename>:</para>
65
66<screen os="i"><userinput>mv -v /usr/lib32/libz.so.* /lib32
67ln -svf ../../lib32/libz.so.1 /usr/lib32/libz.so</userinput></screen>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="zlib.xml"
71 xpointer="xpointer(//*[@os='j'])"/>
72
73<screen os="k"><userinput>chmod -v 644 /usr/lib32/libz.a</userinput></screen>
74
75 </sect2>
76
77 <sect2 role="content">
78 <title/>
79
80 <para>Details on this package are located in <xref
81 linkend="contents-zlib" role="."/></para>
82
83 </sect2>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.