lfs/chapter06/binutils-inst.xml
2002-01-30 16:11:56 +00:00

21 lines
746 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, so we recommend you unsetting CFLAGS, CXXFLAGS and other
such variables/settings that would change the default optimization that
it comes with.</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=/usr --enable-shared &amp;&amp;
make tooldir=/usr &amp;&amp;
make tooldir=/usr install &amp;&amp;
make tooldir=/usr install-info</userinput></screen></para>
</sect2>