aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-pass2.xml
diff options
context:
space:
mode:
authorDavid Bryant <davidbryant@gvtc.com>2022-11-03 19:24:54 -0500
committerDavid Bryant <davidbryant@gvtc.com>2022-11-03 19:29:02 -0500
commit6dff9ef949bb3567b543ee1cb0bdd0f309fa56bf (patch)
tree11bafddaf2e7fd439bc867a3dc12bfb3ef8e1ae7 /chapter06/gcc-pass2.xml
parent172185a9f786aedc2842696084faf95249162b04 (diff)
Edit English idiom. punctuation, etc., throughout chapter 6.
Diffstat (limited to 'chapter06/gcc-pass2.xml')
-rw-r--r--chapter06/gcc-pass2.xml29
1 files changed, 14 insertions, 15 deletions
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml
index 6774134a2..24e14a346 100644
--- a/chapter06/gcc-pass2.xml
+++ b/chapter06/gcc-pass2.xml
@@ -48,8 +48,7 @@
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
-->
<para>As in the first build of GCC, the GMP, MPFR, and MPC packages are
- required. Unpack the tarballs and move them into the required directory
- names:</para>
+ required. Unpack the tarballs and move them into the required directories:</para>
<screen><userinput remap="pre">tar -xf ../mpfr-&mpfr-version;.tar.xz
mv -v mpfr-&mpfr-version; mpfr
@@ -111,9 +110,9 @@ cd build</userinput></screen>
<para>Normally, using <parameter>--host</parameter> ensures that
a cross-compiler is used for building GCC, and that compiler knows
that it has to look for headers and libraries in <filename
- class="directory">$LFS</filename>. But the build system of GCC uses
+ class="directory">$LFS</filename>. But the build system for GCC uses
other tools, which are not aware of this location. This switch is
- needed to have them find the needed files in <filename
+ needed so those tools will find the needed files in <filename
class="directory">$LFS</filename>, and not on the host.</para>
</listitem>
</varlistentry>
@@ -121,16 +120,16 @@ cd build</userinput></screen>
<varlistentry>
<term><parameter>--target=$LFS_TGT</parameter></term>
<listitem>
- <para>As we are cross-compiling GCC, it's impossible to build
+ <para>We are cross-compiling GCC, so it's impossible to build
target libraries (<filename class="libraryfile">libgcc</filename>
and <filename class="libraryfile">libstdc++</filename>) with the
- compiled GCC binaries because these binaries won't run on the
- host distro. GCC building system will attempt to use the
- C and C++ compilers on the host distro as a workaround by default.
- It's not supported to build GCC target libraries with a different
- version of GCC, so using host compilers may cause building
- failure. This parameter ensures to build the libraries with GCC
- pass 1 and prevent the issue.</para>
+ previously compiled GCC binaries&mdash;those binaries won't run on the
+ host. The GCC build system will attempt to use the host's
+ C and C++ compilers as a workaround by default.
+ Building the GCC target libraries with a different
+ version of GCC is not supported, so using the host's compilers may cause
+ the build to fail. This parameter ensures the libraries are built by GCC
+ pass 1.</para>
</listitem>
</varlistentry>
@@ -138,9 +137,9 @@ cd build</userinput></screen>
<term><parameter>LDFLAGS_FOR_TARGET=...</parameter></term>
<listitem>
<para>Allow <filename class="libraryfile">libstdc++</filename> to
- use shared <filename class="libraryfile">libgcc</filename> being
- built in this pass, instead of the static version built in GCC
- pass 1. This is needed for supporting C++ exception
+ use the shared <filename class="libraryfile">libgcc</filename> being
+ built in this pass, instead of the static version that was built in GCC
+ pass 1. This is necessary to support C++ exception
handling.</para>
</listitem>
</varlistentry>