%general-entities; ]> xz &xz-version;
&xz-url;
Xz-&xz-version; Xz tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter06/xz.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&xz-ch5-sbu;</seg> <seg>&xz-ch5-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Xz Prepare Xz for compilation: ./configure --prefix=/tools Compile the package: make Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the Xz test suite anyway, issue the following command: make check Install the package: make install Installation of Xz - 32 bit Prepare Xz for compilation: make distclean && CC="${LFS_TGT}-gcc -m32" \ ./configure \ --prefix=/tools \ --libdir=/tools/lib32 \ --host="${LFS_TGT32}" Compile the package: make To test the results, issue: make check Install the package: make DESTDIR=$PWD/DESTDIR_32 install && cp -Rv DESTDIR_32/tools/lib32/* /tools/lib32 Installation of Xz - x32 bit Repeat for the x32-ABI: make distclean && CC="${LFS_TGT}-gcc -mx32" \ ./configure \ --prefix=/tools \ --libdir=/tools/libx32 \ --host="${LFS_TGTX32}" make make DESTDIR=$PWD/DESTDIR_x32 install && cp -Rv DESTDIR_x32/tools/libx32/* /tools/libx32 <para>Details on this package are located in <xref linkend="contents-xz" role="."/></para> </sect2> </sect1>