123456789101112131415161718192021 |
- <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=$LFS/usr --disable-nls &&
- make tooldir=$LFS/usr LDFLAGS=-all-static &&
- make tooldir=$LFS/usr install</userinput></screen></para>
- </sect2>
|