Ignore:
Timestamp:
10/30/2022 02:23:55 PM (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:
6b052ef
Parents:
019499e
Message:

Corrected spelling here and there. Regularized capitaization of package
names, corrected idiom / punctuation, and removed extraneous verbiage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/libstdc++.xml

    r019499e rf6820bb6  
    2929    (part of GCC is written in C++), but we had to defer its installation
    3030    when we built <xref linkend="ch-tools-gcc-pass1"/>
    31     because it depends on glibc, which was not yet available in the target
     31    because Libstdc++ depends on Glibc, which was not yet available in the target
    3232    directory.
    3333    </para>
     
    5454    </note>
    5555
    56     <para>Create a separate build directory for libstdc++ and enter it:</para>
     56    <para>Create a separate build directory for Libstdc++ and enter it:</para>
    5757
    5858<screen><userinput remap="pre">mkdir -v build
    5959cd       build</userinput></screen>
    6060
    61     <para>Prepare libstdc++ for compilation:</para>
     61    <para>Prepare Libstdc++ for compilation:</para>
    6262
    6363<screen><userinput remap="configure">../libstdc++-v3/configure           \
     
    7676        <term><parameter>--host=...</parameter></term>
    7777        <listitem>
    78           <para>Specifies that the cross compiler we have just built
     78          <para>Specifies that the cross-compiler we have just built
    7979          should be used instead of the one in
    8080          <filename>/usr/bin</filename>.</para>
     
    9494        <listitem>
    9595          <para>This specifies the installation directory for include files.
    96           Because libstdc++ is the standard C++ library for LFS, this
     96          Because Libstdc++ is the standard C++ library for LFS, this
    9797          directory should match the location where the C++ compiler
    9898          (<command>$LFS_TGT-g++</command>) would search for the
    9999          standard C++ include files. In a normal build, this information
    100           is automatically passed to the libstdc++ <command>configure</command>
     100          is automatically passed to the Libstdc++ <command>configure</command>
    101101          options from the top level directory. In our case, this information
    102102          must be explicitly given.
    103103          The C++ compiler will prepend the sysroot path
    104           <filename class="directory">$LFS</filename> (specified building
    105           GCC pass 1) to the include file search path, so it will actually
     104          <filename class="directory">$LFS</filename> (specified when building
     105          GCC-pass1) to the include file search path, so it will actually
    106106          search in
    107107          <filename class="directory">$LFS/tools/$LFS_TGT/include/c++/&gcc-version;</filename>.
    108108          The combination of the <parameter>DESTDIR</parameter>
    109109          variable (in the <command>make install</command> command below)
    110           and this switch ensures to install the headers there.</para>
     110          and this switch causes the headers to be installed there.</para>
    111111        </listitem>
    112112      </varlistentry>
     
    114114    </variablelist>
    115115
    116     <para>Compile libstdc++ by running:</para>
     116    <para>Compile Libstdc++ by running:</para>
    117117
    118118<screen><userinput remap="make">make</userinput></screen>
     
    123123
    124124    <para>Remove the libtool archive files because they are harmful for
    125     cross compilation:</para>
     125    cross-compilation:</para>
    126126
    127127<screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.