%general-entities; ]> Binutils-&binutils-version; - Pass 2 Binutils tools, pass 2 <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>1.5 SBU</seg><seg>108 MB</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Re-installation of Binutils Create a separate build directory again: mkdir ../binutils-build cd ../binutils-build Now prepare Binutils for compilation: ../binutils-&binutils-version;/configure --prefix=/tools \ --enable-shared --with-lib-path=/tools/lib The meaning of the new configure option: --with-lib-path=/tools/lib This tells the configure script to specify the library search path during the compilation of Binutils, resulting in /tools/lib being passed to the linker. This prevents the linker from searching through library directories on the host. Before starting to build Binutils, remember to unset any environment variables that override the default optimization flags. Compile the package: make Compilation is now complete. As discussed earlier, running the test suite is not mandatory for the temporary tools here in this chapter. To run the Binutils test suite anyway, issue the following command: make check Install the package: make install Now prepare the linker for the Re-adjusting phase in the next chapter: make -C ld clean make -C ld LIB_PATH=/usr/lib:/lib Do not yet remove the Binutils source and build directories. hese directories will be needed again in the next chapter in their current state. <para>The details on this package are found in <xref linkend="contents-binutils"/>.</para> </sect2> </sect1>