5.15. Installing Binutils-2.14 - Pass 2

Estimated build time:           1.5 SBU
Estimated required disk space:  108 MB

5.15.1.

5.15.2. Re-installation of Binutils

Create a separate build directory again:

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

Now prepare Binutils for compilation:

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

The meaning of the new configure option:

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

Compile the package:

make 

Note

It's worth pointing out that running the Binutils test suite here is considered not as important as running it in Chapter 6.

Test the results (there should be no unexpected failures here, expected failures are fine):

make check

Unfortunately, there is no easy way to view the test results summary like there was for the previous GCC package. However, if a failure occurs here, it should be easy to spot. The output shown will contain something like:

make[1]: *** [check-binutils] Error 2

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

Warning

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.

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:57:39