%general-entities; ]> binutils-pass2 &binutils-version;
&binutils-url;
Binutils-&binutils-version; - Pass 2 Binutils tools, pass 2 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter08/binutils.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&binutils-tmpp2-sbu;</seg> <seg>&binutils-tmpp2-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Binutils Binutils ships an outdated libtool copy in the tarball. It lacks sysroot support so the produced binaries will be mistakenly linked to libraries from the host distro. Workaround this issue: sed '6009s/$add_dir//' -i ltmain.sh Create a separate build directory again: mkdir -v build cd build Prepare Binutils for compilation: ../configure \ --prefix=/usr \ --build=$(../config.guess) \ --host=$LFS_TGT \ --disable-nls \ --enable-shared \ --disable-werror \ --enable-64-bit-bfd The meaning of the new configure options: --enable-shared Builds libbfd as a shared library. --enable-64-bit-bfd Enables 64-bit support (on hosts with narrower word sizes). May not be needed on 64-bit systems, but does no harm. Compile the package: make Install the package: make DESTDIR=$LFS install <para>Details on this package are located in <xref linkend="contents-binutils" role="."/></para> </sect2> </sect1>