source: BOOK/final-system/multilib/zlib-n32.xml@ 9506c364

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 9506c364 was e0e40d3, checked in by Jim Gifford <clfs@…>, 19 years ago

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[3f8be484]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
[566db8e]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../common/zlib.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]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='a'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="zlib.xml"
31 xpointer="xpointer(//*[@os='b'])"/>
32
[e0e40d3]33<screen os="c"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
[3f8be484]34 --shared --libdir=/lib32</userinput></screen>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="zlib.xml"
38 xpointer="xpointer(//*[@os='d'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="zlib.xml"
42 xpointer="xpointer(//*[@os='e'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="zlib.xml"
46 xpointer="xpointer(//*[@os='f'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="zlib.xml"
50 xpointer="xpointer(//*[@os='g'])"/>
51
[e0e40d3]52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="zlib.xml"
54 xpointer="xpointer(//*[@os='h'])"/>
55
56 <para os="i">The previous command installed a <filename
[3f8be484]57 class="extension">.so</filename> file in <filename
58 class="directory">/lib32</filename>. We will remove it and relink it into
59 <filename class="directory">/usr/lib32</filename>:</para>
60
[e0e40d3]61<screen os="j"><userinput>rm /lib32/libz.so
[3f8be484]62ln -sf ../../lib32/libz.so.&zlib-version; /usr/lib32/libz.so</userinput></screen>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="zlib.xml"
[e0e40d3]66 xpointer="xpointer(//*[@os='k'])"/>
[3f8be484]67
[e0e40d3]68<screen os="l"><userinput>make clean
[3f8be484]69CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure \
70 --prefix=/usr --libdir=/usr/lib32
71make</userinput></screen>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="zlib.xml"
[e0e40d3]75 xpointer="xpointer(//*[@os='m'])"/>
[3f8be484]76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="zlib.xml"
[e0e40d3]79 xpointer="xpointer(//*[@os='n'])"/>
[3f8be484]80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="zlib.xml"
[e0e40d3]83 xpointer="xpointer(//*[@os='o'])"/>
[3f8be484]84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="zlib.xml"
[e0e40d3]87 xpointer="xpointer(//*[@os='p'])"/>
[3f8be484]88
[e0e40d3]89<screen os="q"><userinput>chmod 644 /usr/lib32/libz.a</userinput></screen>
[3f8be484]90
91 </sect2>
92
93 <sect2 role="content">
94 <title/>
95
96 <para>Details on this package are located in <xref
97 linkend="contents-zlib" role="."/></para>
98
99 </sect2>
100
101</sect1>
Note: See TracBrowser for help on using the repository browser.