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

sysvinit
Last change on this file since cec4a00 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 2.4 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
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[566db8e]19 href="../common/zlib.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Zlib</title>
24
[dabbced]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]26 href="zlib.xml"
[27178ae]27 xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]28
[4173cd9]29<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILDN32}" \
[b6831b6]30CXX="g++ -isystem /usr/include ${BUILDN32}" \
31LDFLAGS="-Wl,-rpath-link,/usr/lib32:/lib32 ${BUILDN32}" \
[b27081c4]32./configure \
33 --prefix=/usr \
34 --libdir=/usr/lib32</userinput></screen>
[3f8be484]35
[dabbced]36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]37 href="zlib.xml"
[27178ae]38 xpointer="xpointer(//*[@os='c'])"/>
[3f8be484]39
[dabbced]40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]41 href="zlib.xml"
[27178ae]42 xpointer="xpointer(//*[@os='d'])"/>
[3f8be484]43
[dabbced]44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[e0e40d3]45 href="zlib.xml"
[27178ae]46 xpointer="xpointer(//*[@os='e'])"/>
[3f8be484]47
[686839b]48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
49 href="zlib.xml"
50 xpointer="xpointer(//*[@os='e2'])"/>
51
[dabbced]52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]53 href="zlib.xml"
[27178ae]54 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]55
[dabbced]56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]57 href="zlib.xml"
[27178ae]58 xpointer="xpointer(//*[@os='g'])"/>
[3f8be484]59
[c4534a5]60 <para os="h">The previous command installed two <filename
61 class="extension">.so</filename> files into <filename
[68d3e1bb]62 class="directory">/usr/lib32</filename>. We will move them into
63 <filename class="directory">/lib32</filename> and then recreate a link
64 in <filename class="directory">/usr/lib32</filename>:</para>
[3f8be484]65
[94e6142]66<screen os="i"><userinput>mv -v /usr/lib32/libz.so.* /lib32
[4302a8c]67ln -sfv ../../lib32/$(readlink /usr/lib32/libz.so) /usr/lib32/libz.so</userinput></screen>
[3f8be484]68
69 </sect2>
70
71 <sect2 role="content">
72 <title/>
73
74 <para>Details on this package are located in <xref
75 linkend="contents-zlib" role="."/></para>
76
77 </sect2>
78
79</sect1>
Note: See TracBrowser for help on using the repository browser.