2 <title>Installation of Binutils</title>
4 <para>This package is known to behave badly when you have changed its default
5 optimization flags (including the -march and -mcpu options). Binutils is
6 best left alone. Therefore, if you have defined any environment variables
7 that override default optimizations, such as CFLAGS and CXXFLAGS, we
8 recommend unsetting or modifying them when building binutils. You have been
11 <para>Install Binutils by running the following commands:</para>
14 <para><screen><userinput>mkdir ../binutils-build &&
15 cd ../binutils-build &&
16 ../binutils-&binutils-version;/configure --prefix=$LFS/static --disable-nls &&
17 make LDFLAGS=-all-static &&
18 make install</userinput></screen></para>