6.14. Gzip-1.3.5

The Gzip package contains programs for compressing and decompressing files.

6.14.1. Installation of Gzip

Setup configure so it can use cross-compiled tools:

cp -v configure{,.orig}
sed -e "s@nm conftest@${LFS_TARGET}-&@" configure.orig > configure

Prepare Gzip for compilation:

./configure --prefix=/tools \
    --host=${LFS_TARGET}

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.34.2, “Contents of Gzip.”