A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « XZ 64-bit | HOME | Lz4 64-bit » |
Name: XZ 32-bit
Summary: A Better Compression Tool
License: Multiple FOSS licenses (0BSD/GPLv2+/GPLv3+)
Version: 5.8.1
URL: https://github.com/tukaani-project/xz/releases/download/v5.8.1/xz-5.8.1.tar.xz
Average Build Time: 0.1 SBU
Used Install Space: 24 MiB
To configure XZ 32-bit for install into the build root, run the following commands:
make distclean
CC="gcc -m32" ./configure \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--disable-static
To compile XZ 32-bit, run the following command:
make
Finally, to install XZ 32-bit into the build tree, run the following command:
make DESTDIR=$PWD/DESTDIR install
cp -Rv DESTDIR/usr/lib/* /usr/lib
rm -rf DESTDIR
See the contents section of the 64-bit build of XZ for details.
| Navigation | ||
|---|---|---|
| « XZ 64-bit | HOME | Lz4 64-bit » |