1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-beyond-lib-zlib" role="wrap">
|
---|
9 | <?dbhtml filename="zlib.html"?>
|
---|
10 |
|
---|
11 | <title>Zlib-&zlib-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-beyond-lib-zlib">
|
---|
14 | <primary sortas="a-Zlib">Zlib</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>The Zlib package contains compression and decompression routines
|
---|
21 | used by some programs.</para>
|
---|
22 |
|
---|
23 | </sect2>
|
---|
24 |
|
---|
25 | <sect2 role="installation">
|
---|
26 | <title>Installation of Zlib</title>
|
---|
27 |
|
---|
28 | <para os="a">Change the default optimization to Os</para>
|
---|
29 |
|
---|
30 | <screen os="b"><userinput>cp configure{,.orig}
|
---|
31 | sed -e 's/-O3/-Os/g' configure.orig > configure</userinput></screen>
|
---|
32 |
|
---|
33 | <para os="c">Prepare Zlib for compilation:</para>
|
---|
34 |
|
---|
35 | <screen os="d"><userinput>./configure --shared</userinput></screen>
|
---|
36 |
|
---|
37 | <variablelist os="aa">
|
---|
38 | <title>The meaning of the configure options:</title>
|
---|
39 |
|
---|
40 | <varlistentry os="aa1">
|
---|
41 | <term><parameter>--shared</parameter></term>
|
---|
42 | <listitem>
|
---|
43 | <para>Tells Zlib to build its shared library.</para>
|
---|
44 | </listitem>
|
---|
45 | </varlistentry>
|
---|
46 |
|
---|
47 | </variablelist>
|
---|
48 |
|
---|
49 | <para os="c">Compile the package:</para>
|
---|
50 |
|
---|
51 | <screen os="d"><userinput>make</userinput></screen>
|
---|
52 |
|
---|
53 | <para os="e">Install the package:</para>
|
---|
54 |
|
---|
55 | <screen os="f"><userinput>make prefix=${CLFS}/cross-tools/sysroot install</userinput></screen>
|
---|
56 |
|
---|
57 | </sect2>
|
---|
58 |
|
---|
59 | <sect2 id="contents-zlib" role="content">
|
---|
60 | <title>Contents of Zlib</title>
|
---|
61 |
|
---|
62 | <segmentedlist>
|
---|
63 | <segtitle>Installed libraries</segtitle>
|
---|
64 |
|
---|
65 | <seglistitem>
|
---|
66 | <seg>libz.[a,so]</seg>
|
---|
67 | </seglistitem>
|
---|
68 | </segmentedlist>
|
---|
69 |
|
---|
70 | <variablelist>
|
---|
71 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
72 | <?dbfo list-presentation="list"?>
|
---|
73 | <?dbhtml list-presentation="table"?>
|
---|
74 |
|
---|
75 | <varlistentry id="libz">
|
---|
76 | <term><filename class="libraryfile">libz</filename></term>
|
---|
77 | <listitem>
|
---|
78 | <para>Contains compression and decompression
|
---|
79 | functions used by some programs</para>
|
---|
80 | <indexterm zone="ch-beyond-lib-zlib libz">
|
---|
81 | <primary sortas="c-libz">libz</primary>
|
---|
82 | </indexterm>
|
---|
83 | </listitem>
|
---|
84 | </varlistentry>
|
---|
85 |
|
---|
86 | </variablelist>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | </sect1>
|
---|