diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml new file mode 100644 index 000000000..75f22a0df --- /dev/null +++ b/chapter06/zlib.xml @@ -0,0 +1,131 @@ + + + %general-entities; +]> + + + + + + zlib + &zlib-version; +
&zlib-url;
+
+ + Zlib-&zlib-version; + + + Zlib + + + + + + <para>The Zlib package contains compression and decompression routines used by + some programs.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&zlib-fin-sbu;</seg> + <seg>&zlib-fin-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Zlib + + Prepare Zlib for compilation: + +./configure --prefix=/usr + + Compile the package: + +make + + To test the results, issue: + +make check + + Install the package: + + make DESTDIR=$LFS install + + The shared library needs to be moved to + /lib, and as a result the + .so file in + /usr/lib will need to be recreated: + +mv -v $LFS/usr/lib/libz.so.* $LFS/lib +ln -sfv ../../lib/$(readlink $LFS/usr/lib/libz.so) $LFS/usr/lib/libz.so + + + + + + + + + Installation of Zlib - 32bit + + Clean previous build: + +make distclean + + Prepare Zlib for compilation: + +CC="gcc -m32" \ +./configure --prefix=/usr \ + --libdir=&usr-lib-m32; + + Compile the package: + +make + + Install the package: + +make DESTDIR=$PWD/DESTDIR install +cp -Rv DESTDIR&usr-lib-m32;/* $LFS&usr-lib-m32; +rm -rf DESTDIR + + + + + + + + + Installation of Zlib - x32bit + +make distclean + + Prepare Zlib for compilation: + +CC="gcc -mx32" \ +./configure --prefix=/usr \ + --libdir=&usr-lib-mx32; + + Compile the package: + +make + + Install the package: + +make DESTDIR=$PWD/DESTDIR install +cp -Rv DESTDIR&usr-lib-mx32;/* $LFS&usr-lib-mx32; +rm -rf DESTDIR + + + + + + <para>Details on this package are located in <xref linkend="contents-zlib" role="."/></para> + </sect2> + +</sect1> diff --git a/chapter08/isl.xml b/chapter08/isl.xml new file mode 100644 index 000000000..7d8c8cc45 --- /dev/null +++ b/chapter08/isl.xml @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-system-isl" role="wrap" arch="ml_32,ml_x32,ml_all"> + <?dbhtml filename="isl.html"?> + + <sect1info condition="script"> + <productname>isl</productname> + <productnumber>&isl-version;</productnumber> + <address>&isl-url;</address> + </sect1info> + + <title>ISL-&isl-version; + + + ISL + + + + + + <para>ISL is a thread-safe C library for manipulating sets and relations + of integer points bounded by affine constraints.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&isl-fin-sbu;</seg> + <seg>&isl-fin-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of ISL + + Prepare ISL for compilation: + +./configure --prefix=/usr \ + --disable-static \ + --docdir=/usr/share/doc/isl-&isl-version; + + + The meaning of the new configure options: + + + --docdir=/usr/share/doc/isl-&isl-version; + + This variable specifies the correct place for the + documentation. + + + + + + Compile the package: + +make + + Install the package and its documentation: + +make install +install -vd /usr/share/doc/isl-&isl-version; +install -m644 doc/{CodingStyle,manual.pdf,SubmittingPatches,user.pod} \ + /usr/share/doc/isl-&isl-version; + + Finally, move a misplaced file: + +mkdir -pv /usr/share/gdb/auto-load/usr/lib +mv -v /usr/lib/libisl*gdb.py /usr/share/gdb/auto-load/usr/lib + + + + + Contents of ISL + + + Installed Libraries + Installed directory + + + libisl.so + /usr/share/doc/isl-&isl-version; + + + + + Short Descriptions + + + + + libisl + + Contains integer set manipulation functions + + libisl + + + + + + + +
+