mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
removed tooldir=/stage1. It makes the build unpure again
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2553 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
84a7dc232d
commit
e91d8ce656
@ -31,7 +31,7 @@ statically.</para></listitem>
|
|||||||
|
|
||||||
<para>Continue with compiling the package:</para>
|
<para>Continue with compiling the package:</para>
|
||||||
|
|
||||||
<para><screen><userinput>make tooldir=/stage1 LDFLAGS="-all-static"</userinput></screen></para>
|
<para><screen><userinput>make LDFLAGS="-all-static"</userinput></screen></para>
|
||||||
|
|
||||||
<para>The meaning of the make option is:</para>
|
<para>The meaning of the make option is:</para>
|
||||||
|
|
||||||
@ -47,10 +47,10 @@ variable.</para></listitem>
|
|||||||
|
|
||||||
<para>And finish off installing the package:</para>
|
<para>And finish off installing the package:</para>
|
||||||
|
|
||||||
<para><screen><userinput>make tooldir=/stage1 install</userinput></screen></para>
|
<para><screen><userinput>make install</userinput></screen></para>
|
||||||
|
|
||||||
<para><screen><userinput>make -C ld clean
|
<para><screen><userinput>make -C ld clean
|
||||||
make -C ld tooldir=/stage1 LIB_PATH=/stage1/lib</userinput></screen></para>
|
make -C ld LIB_PATH=/stage1/lib</userinput></screen></para>
|
||||||
|
|
||||||
<para>Do not remove the binutils-* directories. We need them again
|
<para>Do not remove the binutils-* directories. We need them again
|
||||||
later on in this chapter.</para>
|
later on in this chapter.</para>
|
||||||
|
@ -8,12 +8,12 @@ mkdir ../binutils-build
|
|||||||
cd ../binutils-build
|
cd ../binutils-build
|
||||||
../binutils-&binutils-version;/configure --prefix=/stage1 \
|
../binutils-&binutils-version;/configure --prefix=/stage1 \
|
||||||
--enable-shared --with-lib-path=/stage1/lib
|
--enable-shared --with-lib-path=/stage1/lib
|
||||||
make tooldir=/stage1
|
make
|
||||||
make tooldir=/stage1 check
|
make check
|
||||||
make tooldir=/stage1 install</userinput></screen></para>
|
make install</userinput></screen></para>
|
||||||
|
|
||||||
<para><screen><userinput>make -C ld clean
|
<para><screen><userinput>make -C ld clean
|
||||||
make -C ld tooldir=/stage1 LIB_PATH=/usr/lib:/lib</userinput></screen></para>
|
make -C ld LIB_PATH=/usr/lib:/lib</userinput></screen></para>
|
||||||
|
|
||||||
<para>Do not remove the binutils-* directories after the installation.
|
<para>Do not remove the binutils-* directories after the installation.
|
||||||
We'll need this directory again in chapter 6 as-is.</para>
|
We'll need this directory again in chapter 6 as-is.</para>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Binutils</title>
|
<title>Installation of Binutils</title>
|
||||||
|
|
||||||
<para><screen><userinput>make -C ld tooldir=/stage1 install-data-local</userinput></screen></para>
|
<para><screen><userinput>make -C ld install-data-local</userinput></screen></para>
|
||||||
|
|
||||||
<para>You can remove the binutils-* directories now.</para>
|
<para>You can remove the binutils-* directories now.</para>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<?dbhtml filename="adjustingtoolchain.html" dir="chapter06"?>
|
<?dbhtml filename="adjustingtoolchain.html" dir="chapter06"?>
|
||||||
|
|
||||||
<para><screen><userinput>cd binutils-build
|
<para><screen><userinput>cd binutils-build
|
||||||
make -C ld tooldir=/stage1 INSTALL=/stage1/bin/install install-data-local
|
make -C ld INSTALL=/stage1/bin/install install-data-local
|
||||||
|
|
||||||
SPECFILE=/stage1/lib/gcc-lib/*/*/specs &&
|
SPECFILE=/stage1/lib/gcc-lib/*/*/specs &&
|
||||||
sed -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1@g' \
|
sed -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1@g' \
|
||||||
|
Loading…
Reference in New Issue
Block a user