Hi,
In this chapter we are going to compile and install Binutils again, this is the second pass of the package.
Note :
- Please check the version of the package when you compile and install, at the time of writing the package was at version 2.35
- You should be logged in as lfs user, when you perform the actions described here.
- Change directory to the sources folder (/mnt/lfs/sources)
- Please check http://linuxfromscratch.org/lfs/view/stable/chapter06/binutils-pass2.html for more details.
Remove the directory binutils-2.35 in case if it's still exist in sources directory.
$ rm -rf binutils-2.35
Unpack the package tarball and change directory.
$ tar -xvf binutils-2.35.tar.xz
$ cd binutils-2.35
Creating the build directory and move into it.
$ mkdir build
$ cd build
Preparing the package for compilation.
$ ../configure \
--prefix=/usr \
--build=$(../config.guess) \
--host=$LFS_TGT \
--disable-nls \
--enable-shared \
--disable-werror \
--enable-64-bit-bfd
Compiling the package.
$ make -j4
Installing the package.
$ make DESTDIR=$LFS install
No comments:
Post a Comment