aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/binutils-pass1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/binutils-pass1.xml')
-rw-r--r--chapter05/binutils-pass1.xml32
1 files changed, 9 insertions, 23 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index b54941a23..8658cfcfe 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -66,15 +66,14 @@ cd build</userinput></screen>
command like this: <userinput>time { ./configure ... &amp;&amp; ...
&amp;&amp; make install; }</userinput>.</para>
</note>
-
+<!--
<note><para>The approximate build SBU values and required disk space
in Chapter&nbsp;5 does not include test suite data.</para></note>
-
+-->
<para>Now prepare Binutils for compilation:</para>
-<screen><userinput remap="configure">../configure --prefix=/tools \
+<screen><userinput remap="configure">../configure --prefix=$LFS/tools \
--with-sysroot=$LFS \
- --with-lib-path=/tools/lib \
--target=$LFS_TGT \
--disable-nls \
--disable-werror</userinput></screen>
@@ -83,11 +82,11 @@ cd build</userinput></screen>
<title>The meaning of the configure options:</title>
<varlistentry>
- <term><parameter>--prefix=/tools</parameter></term>
+ <term><parameter>--prefix=$LFS/tools</parameter></term>
<listitem>
<para>This tells the configure script to prepare to install the
- Binutils programs in the <filename class="directory">/tools</filename>
- directory.</para>
+ Binutils programs in the <filename
+ class="directory">$LFS/tools</filename> directory.</para>
</listitem>
</varlistentry>
@@ -98,15 +97,15 @@ cd build</userinput></screen>
$LFS for the target system libraries as needed.</para>
</listitem>
</varlistentry>
-
+ <!--
<varlistentry>
- <term><parameter>--with-lib-path=/tools/lib</parameter></term>
+ <term><parameter>- -with-lib-path=/tools/lib</parameter></term>
<listitem>
<para>This specifies which library path the linker should be
configured to use.</para>
</listitem>
</varlistentry>
-
+ -->
<varlistentry>
<term><envar>--target=$LFS_TGT</envar></term>
<listitem>
@@ -140,19 +139,6 @@ cd build</userinput></screen>
<screen><userinput remap="make">make</userinput></screen>
- <para>Compilation is now complete. Ordinarily we would now run the
- test suite, but at this early stage the test suite framework (Tcl,
- Expect, and DejaGNU) is not yet in place. The benefits of running the
- tests at this point are minimal since the programs from this
- first pass will soon be replaced by those from the second.</para>
-
- <para>If building on x86_64, create a symlink to ensure the sanity of
- the toolchain:</para>
-
-<screen><userinput remap="install">case $(uname -m) in
- x86_64) mkdir -v /tools/lib &amp;&amp; ln -sv lib /tools/lib64 ;;
-esac</userinput></screen>
-
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>