lfs/chapter05/binutils-inst.xml
Timothy Bauscher 8f93b1553a o Updated to binutils-2.13.2, procps-3.1.5.
o Made all LDFLAGS=-static LDFLAGS="-static".
o Added symlink from libfl.a to libl.a.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2242 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2002-12-30 03:12:54 +00:00

22 lines
771 B
XML

<sect2>
<title>Installation of Binutils</title>
<para>This package is known to behave badly when you have changed its default
optimization flags (including the -march and -mcpu options). Binutils is
best left alone. Therefore, if you have defined any environment variables
that override default optimizations, such as CFLAGS and CXXFLAGS, we
recommend unsetting or modifying them when building binutils. You have been
warned.</para>
<para>Install Binutils by running the following commands:</para>
<para><screen><userinput>mkdir ../binutils-build &amp;&amp;
cd ../binutils-build &amp;&amp;
../binutils-&binutils-version;/configure --prefix=$LFS/static --disable-nls &amp;&amp;
make LDFLAGS="-all-static" &amp;&amp;
make install</userinput></screen></para>
</sect2>