Linux From Scratch: Version 5.0-pre1
Prev | Chapter 5. Preparing the LFS system | Next

# Installing Binutils-2.14 - Pass 2

    Estimated build time:           1.4 SBU
    Estimated required disk space:  160 MB

##

## Re-installation of Binutils

> Note: It's worth noting that the Binutils testsuite we run in this chapter is considered not as critical as the one we run in Chapter 6.

First create a separate build directory again:

    mkdir ../binutils-build
    cd ../binutils-build

Now prepare Binutils to be compiled:

    ../binutils-2.14/configure --prefix=/tools \
        --enable-shared --with-lib-path=/tools/lib

Before starting to build Binutils, remember to unset any environment variables that override the default optimization flags.

Compile the package:

    make

Test the results (nothing should fail here):

    make check

And install the package:

    make install

Now prepare Binutils for the re-adjusting of the toolchain in the next chapter:

    make -C ld clean
    make -C ld LIB_PATH=/usr/lib:/lib

Caution
Do not yet remove the Binutils source and build directories. We'll need these directories again in the next chapter in the state they are in now.

Prev | Home | Next
Installing GCC-3.3.1 - Pass 2 | Up | Installing Gawk-3.1.3