lfs/chapter06/binutils-inst.xml
Gerard Beekmans b43aab1573 Added notes that gcc, binutils and glibc behave badly when optimized and
thus should be left alone.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1172 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-09-05 14:13:36 +00:00

18 lines
719 B
XML

<sect2><title>Installation of Binutils</title>
<para>This package is known to behave badly when you have changed it's
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>./configure --prefix=/usr --enable-shared &amp;&amp;</userinput>
<userinput>make tooldir=/usr &amp;&amp;</userinput>
<userinput>make tooldir=/usr install &amp;&amp;</userinput>
<userinput>make tooldir=/usr install-info</userinput></screen></para>
</sect2>