2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Binutils</title>
|
|
|
|
|
2001-09-20 02:47:28 +01:00
|
|
|
<para>This package is known to behave badly when you have changed its default
|
2001-09-05 15:13:36 +01:00
|
|
|
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>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>Install Binutils by running the following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-10-27 23:21:44 +01:00
|
|
|
<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &&
|
|
|
|
make LDFLAGS=-all-static tooldir=$LFS/usr &&
|
|
|
|
make tooldir=$LFS/usr install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|