binutils-inst.xml 684 B

1234567891011121314151617
  1. <sect2>
  2. <title>Installation of Binutils</title>
  3. <para>This package is known to behave badly when you have changed its default
  4. optimization flags (including the -march and -mcpu options). Binutils is
  5. best left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other
  6. such variables/settings that would change the default optimization that
  7. it comes with.</para>
  8. <para>Install Binutils by running the following commands:</para>
  9. <para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;</userinput>
  10. <userinput>make LDFLAGS=-all-static tooldir=$LFS/usr &amp;&amp;</userinput>
  11. <userinput>make tooldir=$LFS/usr install</userinput></screen></para>
  12. </sect2>