mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
819ecc6532
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2061 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
22 lines
890 B
XML
22 lines
890 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 &&
|
|
cd ../binutils-build &&
|
|
../binutils-&binutils-version;/configure --prefix=/usr --enable-shared &&
|
|
make tooldir=/usr &&
|
|
make tooldir=/usr install &&
|
|
make tooldir=/usr install-info &&
|
|
cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|