Ignore:
Timestamp:
11/04/2022 12:29:02 AM (18 months ago)
Author:
David Bryant <davidbryant@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/update-glibc
Children:
5156c400
Parents:
172185a9
git-author:
David Bryant <davidbryant@…> (11/04/2022 12:24:54 AM)
git-committer:
David Bryant <davidbryant@…> (11/04/2022 12:29:02 AM)
Message:

Edit English idiom. punctuation, etc., throughout chapter 6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc-pass2.xml

    r172185a9 r6dff9ef  
    4949-->
    5050    <para>As in the first build of GCC, the GMP, MPFR, and MPC packages are
    51     required. Unpack the tarballs and move them into the required directory
    52     names:</para>
     51    required. Unpack the tarballs and move them into the required directories:</para>
    5352
    5453<screen><userinput remap="pre">tar -xf ../mpfr-&mpfr-version;.tar.xz
     
    112111          a cross-compiler is used for building GCC, and that compiler knows
    113112          that it has to look for headers and libraries in <filename
    114           class="directory">$LFS</filename>. But the build system of GCC uses
     113          class="directory">$LFS</filename>. But the build system for GCC uses
    115114          other tools, which are not aware of this location. This switch is
    116           needed to have them find the needed files in <filename
     115          needed so those tools will find the needed files in <filename
    117116          class="directory">$LFS</filename>, and not on the host.</para>
    118117        </listitem>
     
    122121        <term><parameter>--target=$LFS_TGT</parameter></term>
    123122        <listitem>
    124           <para>As we are cross-compiling GCC, it's impossible to build
     123          <para>We are cross-compiling GCC, so it's impossible to build
    125124          target libraries (<filename class="libraryfile">libgcc</filename>
    126125          and <filename class="libraryfile">libstdc++</filename>) with the
    127           compiled GCC binaries because these binaries won't run on the
    128           host distro.  GCC building system will attempt to use the
    129           C and C++ compilers on the host distro as a workaround by default.
    130           It's not supported to build GCC target libraries with a different
    131           version of GCC, so using host compilers may cause building
    132           failure.  This parameter ensures to build the libraries with GCC
    133           pass 1 and prevent the issue.</para>
     126          previously compiled GCC binaries&mdash;those binaries won't run on the
     127          host.  The GCC build system will attempt to use the host's
     128          C and C++ compilers as a workaround by default.
     129          Building the GCC target libraries with a different
     130          version of GCC is not supported, so using the host's compilers may cause
     131          the build to fail. This parameter ensures the libraries are built by GCC
     132          pass 1.</para>
    134133        </listitem>
    135134      </varlistentry>
     
    139138        <listitem>
    140139          <para>Allow <filename class="libraryfile">libstdc++</filename> to
    141           use shared <filename class="libraryfile">libgcc</filename> being
    142           built in this pass, instead of the static version built in GCC
    143           pass 1. This is needed for supporting C++ exception
     140          use the shared <filename class="libraryfile">libgcc</filename> being
     141          built in this pass, instead of the static version that was built in GCC
     142          pass 1. This is necessary to support C++ exception
    144143          handling.</para>
    145144        </listitem>
Note: See TracChangeset for help on using the changeset viewer.