source: final-system/multilib/zlib-64bit.xml@ 0adf6ee2

Last change on this file since 0adf6ee2 was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[bf8c11f]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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-zlib" role="wrap">
11 <?dbhtml filename="zlib-64bit.html"?>
12
13 <title>Zlib-&zlib-version; 64 Bit</title>
14
15 <indexterm zone="ch-system-zlib">
16 <primary sortas="a-Zlib">Zlib</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="../common/zlib.xml"
24 xpointer="xpointer(//*[@role='package']/para[1])"/>
25
26 <segmentedlist>
27 <segtitle>&buildtime;</segtitle>
28 <segtitle>&diskspace;</segtitle>
29
30 <seglistitem>
31 <seg>Not checked yet</seg>
32 <seg>Not checked yet</seg>
33 </seglistitem>
34 </segmentedlist>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../common/zlib.xml"
38 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Zlib</title>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="zlib.xml"
47 xpointer="xpointer(//*[@os='a'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="zlib.xml"
51 xpointer="xpointer(//*[@os='b'])"/>
52
53<screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
54 --shared --libdir=/lib64</userinput></screen>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="zlib.xml"
58 xpointer="xpointer(//*[@os='c'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="zlib.xml"
62 xpointer="xpointer(//*[@os='d'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="zlib.xml"
66 xpointer="xpointer(//*[@os='e'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="zlib.xml"
70 xpointer="xpointer(//*[@os='f'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="zlib.xml"
74 xpointer="xpointer(//*[@os='g'])"/>
75
76 <para>The previous command installed a <filename
77 class="extension">.so</filename> file in <filename
78 class="directory">/lib64</filename>. We will remove it and relink it into
79 <filename class="directory">/usr/lib64</filename>:</para>
80
81<screen><userinput>rm /lib64/libz.so
82ln -sf ../../lib64/libz.so.&zlib-version; /usr/lib64/libz.so</userinput></screen>
83
84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
85 href="zlib.xml"
86 xpointer="xpointer(//*[@os='j'])"/>
87
88<screen><userinput>make clean
89CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure \
90 --prefix=/usr --libdir=/usr/lib64
91make</userinput></screen>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="zlib.xml"
95 xpointer="xpointer(//*[@os='k'])"/>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="zlib.xml"
99 xpointer="xpointer(//*[@os='l'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="zlib.xml"
103 xpointer="xpointer(//*[@os='m'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="zlib.xml"
107 xpointer="xpointer(//*[@os='n'])"/>
108
109<screen><userinput>chmod 644 /usr/lib64/libz.a</userinput></screen>
110
111 </sect2>
112
113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
114 href="../common/zlib.xml"
115 xpointer="xpointer(id('contents-zlib'))"/>
116
117</sect1>
Note: See TracBrowser for help on using the repository browser.