Sunday, December 27, 2020

Chapter 27 : Compile and Install Make - Cross Compiling Temporary Tools

Hi,

In this chapter we are going to compile and install make package.

Note :
- Please check the version of the package when you compile and install, at the time of writing the package was at version 4.3
- 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 make-4.3.tar.gz
$ cd make-4.3

Prepare the package for the compilation.
$ ./configure --prefix=/usr   \
            --without-guile \
            --host=$LFS_TGT \
            --build=$(build-aux/config.guess)

Compiling the package.
$ make -j4

Installing the package.
$ make DESTDIR=$LFS install




No comments:

Post a Comment

How to change the root password in linux when it is forgotten/to change

This blog is all about changing the root password of the Linux system when it is forgotten or to reset the password...   Let's get it ...