Sunday, December 27, 2020

Chapter 26 : Compile and Install Gzip - Cross Compiling Temporary Tools

Hi,

In this post we are going to see how to compile and install Gzip Package.

Note :
- Please check the version of the package when you compile and install, at the time of writing the package was at version 1.10
- You should be logged in as lfs user, when you perform the actions described here.
- Change directory to the sources folder (/mnt/lfs/sources)

Unpack the package tarball and change directory.
$ tar -xvf gzip-1.10.tar.xz
$ cd gzip-1.10

Preparing the package for compilation.
$ ./configure --prefix=/usr --host=$LFS_TGT

Compiling the package.
$ make -j4

Installing the package.
$ make DESTDIR=$LFS install

Move the executable to its final expected location.
$ mv -v $LFS/usr/bin/gzip $LFS/bin




No comments:

Post a Comment

Addressing Modes of 8080 / 8085 MicroProcessor

Hi,   In this post I am going to talk about different addressing modes of 8080/8085...without much talking let us get into the topic.   Ther...