Ignore:
Timestamp:
06/11/2020 05:55:06 AM (4 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
302d97a
Parents:
387a32af
Message:

Updates to the rest of cross2 Chapter 7.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11919 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/libstdc++-pass2.xml

    r387a32af raefc822  
    2525    <title/>
    2626
    27     <para>Again, when building <xref linkend="ch-tools-gcc-pass2"/>, we had to
    28     defer the installation of the C++ standard library, because no suitable
    29     compiler was available to compile it: we could not use the compiler
    30     installed, because this compiler is a native
    31     compiler, and should not be used outside of chroot without being at
    32     risk of polluting the build with some host components.</para>
     27    <para>When building <xref linkend="ch-tools-gcc-pass2"/> we had to defer
     28    the installation of the C++ standard library because no suitable compiler
     29    was available to compile it. We could not use the compiler built in that
     30    section because it is a native compiler and should not be used outside of
     31    chroot and risk polluting the libraries with some host components.</para>
    3332
    3433    <segmentedlist>
     
    3635      <segtitle>&diskspace;</segtitle>
    3736
    38         <!-- TODO -->
    3937      <seglistitem>
    4038        <seg>&libstdcpp-ch5-sbu;</seg>
     
    5452    </note>
    5553
    56     <para>Create a link which exists when building Libstdc++ in the gcc
    57     tree:</para>
     54    <para>Create a link which exists when building libstdc++ in the gcc tree:</para>
    5855
    5956<screen><userinput remap="pre">ln -s gthr-posix.h libgcc/gthr-default.h</userinput></screen>
    6057
    61     <para>Create a separate build directory for Libstdc++ and enter it:</para>
     58    <para>Create a separate build directory for libstdc++ and enter it:</para>
    6259
    6360<screen><userinput remap="pre">mkdir -v build
    6461cd       build</userinput></screen>
    6562
    66     <para>Prepare Libstdc++ for compilation:</para>
     63    <para>Prepare libstdc++ for compilation:</para>
    6764
    6865<screen><userinput remap="configure">../libstdc++-v3/configure           \
     
    7976        <term><parameter>CXXFLAGS="-g -O2 -D_GNU_SOURCE"</parameter></term>
    8077        <listitem>
    81           <para>Those flags are passed by the top level Makefile when doing
    82           a full build of GCC.</para>
     78          <para>These flags are passed by the top level Makefile when doing
     79          a full build of GCC.</para>
    8380        </listitem>
    8481      </varlistentry>
     
    107104    <title/>
    108105
    109     <para>Details on this package are located in
    110     <xref linkend="contents-gcc" role="."/></para>
     106    <para>Details on this package are located in <xref linkend="contents-gcc" role="."/></para>
    111107
    112108  </sect2>
Note: See TracChangeset for help on using the changeset viewer.