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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f765af0 was 4173cd9, checked in by Jim Gifford <clfs@…>, 16 years ago

Updates to Toolchain Fixes.

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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"
[27178ae]27 xpointer="xpointer(//*[@os='p1'])"/>
[3f8be484]28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="zlib.xml"
[27178ae]31 xpointer="xpointer(//*[@os='p2'])"/>
[3f8be484]32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="zlib.xml"
[27178ae]35 xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]36
[4173cd9]37<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILDN32}" \
38 CXX="g++ -isystem /usr/include ${BUILDN32}" \
39 LDFLAGS="-Wl,-rpath-link,/lib32 ${BUILDN32}" \
40 ./configure --prefix=/usr --shared --libdir=/usr/lib32</userinput></screen>
[3f8be484]41
42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="zlib.xml"
[27178ae]44 xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="zlib.xml"
[27178ae]48 xpointer="xpointer(//*[@os='d'])"/>
[3f8be484]49
[e0e40d3]50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="zlib.xml"
[27178ae]52 xpointer="xpointer(//*[@os='e'])"/>
[3f8be484]53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="zlib.xml"
[27178ae]56 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="zlib.xml"
[27178ae]60 xpointer="xpointer(//*[@os='g'])"/>
[3f8be484]61
[c4534a5]62 <para os="h">The previous command installed two <filename
63 class="extension">.so</filename> files into <filename
[27178ae]64 class="directory">/usr/lib32</filename>. We will remove itinto
65 <filename class="directory">/lib32</filename> and then relink it
66 to <filename class="directory">/usr/lib32</filename>:</para>
[3f8be484]67
[94e6142]68<screen os="i"><userinput>mv -v /usr/lib32/libz.so.* /lib32
69ln -svf ../../lib32/libz.so.1 /usr/lib32/libz.so</userinput></screen>
[3f8be484]70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="zlib.xml"
[27178ae]73 xpointer="xpointer(//*[@os='j'])"/>
[3f8be484]74
[94e6142]75<screen os="k"><userinput>chmod -v 644 /usr/lib32/libz.a</userinput></screen>
[3f8be484]76
77 </sect2>
78
79 <sect2 role="content">
80 <title/>
81
82 <para>Details on this package are located in <xref
83 linkend="contents-zlib" role="."/></para>
84
85 </sect2>
86
87</sect1>
Note: See TracBrowser for help on using the repository browser.