source: BOOK/final-system/multilib/zlib-64bit.xml@ 3ff2c4b

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

Updates to Toolchain Fixes.

  • Property mode set to 100644
File size: 2.6 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" role="wrap">
9 <?dbhtml filename="zlib-64bit.html"?>
10
11 <title>Zlib-&zlib-version; 64 Bit</title>
12
13 <indexterm zone="ch-system-zlib">
14 <primary sortas="a-Zlib">Zlib</primary>
15 </indexterm>
16
[566db8e]17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/zlib.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]20
21 <sect2 role="installation">
22 <title>Installation of Zlib</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="zlib.xml"
[27178ae]26 xpointer="xpointer(//*[@os='p1'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="zlib.xml"
30 xpointer="xpointer(//*[@os='p2'])"/>
[3f8be484]31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="zlib.xml"
[27178ae]34 xpointer="xpointer(//*[@os='a'])"/>
[3f8be484]35
[4173cd9]36<screen os="b"><userinput>CC="gcc -isystem /usr/include ${BUILD64}" \
37 CXX="g++ -isystem /usr/include ${BUILD64}" \
38 LDFLAGS="-Wl,-rpath-link,/lib64 ${BUILD64}" \
39 ./configure --prefix=/usr --shared --libdir=/usr/lib64</userinput></screen>
[3f8be484]40
[a3e7655]41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="zlib.xml"
43 xpointer="xpointer(//*[@os='c'])"/>
44
[3f8be484]45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="zlib.xml"
47 xpointer="xpointer(//*[@os='d'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="zlib.xml"
51 xpointer="xpointer(//*[@os='e'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="zlib.xml"
55 xpointer="xpointer(//*[@os='f'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="zlib.xml"
59 xpointer="xpointer(//*[@os='g'])"/>
60
[c4534a5]61 <para os="h">The previous command installed two <filename
62 class="extension">.so</filename> files into <filename
[ac3984c]63 class="directory">/usr/lib64</filename>. We will move it into
[27178ae]64 <filename class="directory">/lib64</filename> and then relink it
65 to <filename class="directory">/usr/lib64</filename>:</para>
[3f8be484]66
[94e6142]67<screen os="i"><userinput>mv -v /usr/lib64/libz.so.* /lib64
68ln -svf ../../lib64/libz.so.1 /usr/lib64/libz.so</userinput></screen>
[3f8be484]69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="zlib.xml"
[27178ae]72 xpointer="xpointer(//*[@os='j'])"/>
[3f8be484]73
[94e6142]74<screen os="k"><userinput>chmod -v 644 /usr/lib64/libz.a</userinput></screen>
[3f8be484]75
76 </sect2>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="../common/zlib.xml"
80 xpointer="xpointer(id('contents-zlib'))"/>
81
82</sect1>
Note: See TracBrowser for help on using the repository browser.