mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-26 07:09:20 +01:00
added mkdir/cd binutils commands. Replaced hard-coded version with an entity reference. Added note not to remove binutils dirs. Removed -k option from make check
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2512 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a80b743be8
commit
384382bd57
@ -4,12 +4,20 @@
|
|||||||
<title>Installation of Binutils</title>
|
<title>Installation of Binutils</title>
|
||||||
|
|
||||||
<para><screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-lib-path.patch
|
<para><screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-lib-path.patch
|
||||||
CFLAGS="-O2 -pipe" ../binutils-2.13.2.1/configure --prefix=/stage1 \
|
mkdir ../binutils-build
|
||||||
|
cd ../binutils-build
|
||||||
|
CFLAGS="-O2 -pipe" ../binutils-&binutils-version;/configure --prefix=/stage1 \
|
||||||
--enable-shared --with-lib-path=/stage1/lib
|
--enable-shared --with-lib-path=/stage1/lib
|
||||||
make LDFLAGS="-s"
|
make LDFLAGS="-s"
|
||||||
make -k check
|
make check
|
||||||
make install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
|
|
||||||
|
<para><screen><userinput>cd ld
|
||||||
|
make clean
|
||||||
|
make LIB_PATH=/usr/lib:/lib</userinput></screen></para>
|
||||||
|
|
||||||
|
<para>Do not remove the binutils-* directories after the installation.
|
||||||
|
We'll need this directory again in chapter 6 as-is.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user