Changeset 891b48b


Ignore:
Timestamp:
09/29/2022 12:08:56 PM (2 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/pip3, xry111/rust-wip-20221008
Children:
3c4e129
Parents:
de94423
Message:

toolchaintechnotes: update description about libstdc++

Since r11.0-r199, libstdc++ pass 2 is built as a part of gcc pass 2, not
in chroot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • part3intro/toolchaintechnotes.xml

    rde94423 r891b48b  
    242242    gcc does not know that it is usable on pc, and (2) using it on pc
    243243    would create a risk of linking to the pc libraries, since cc-lfs is a native
    244     compiler. So we have to re-build libstdc++ later, in the chroot environment.</para>
     244    compiler. So we have to re-build libstdc++ later as a part of pass 2 gcc.</para>
    245245
    246246  </sect2>
     
    330330    LFS compiler is installed. First binutils-pass2 is built,
    331331    in the same <envar>DESTDIR</envar> directory as the other programs,
    332     then the second pass of gcc is constructed, omitting libstdc++
    333     and other non-critical libraries.  Due to some weird logic in gcc's
     332    then the second pass of gcc is constructed, omitting some
     333    non-critical libraries.  Due to some weird logic in gcc's
    334334    configure script, <envar>CC_FOR_TARGET</envar> ends up as
    335335    <command>cc</command> when the host is the same as the target, but
     
    339339
    340340    <para>Upon entering the chroot environment in <xref
    341     linkend="chapter-chroot-temporary-tools"/>, the first task is to install
    342     libstdc++. Then temporary installations of programs needed for the proper
     341    linkend="chapter-chroot-temporary-tools"/>,
     342    the temporary installations of programs needed for the proper
    343343    operation of the toolchain are performed. From this point onwards, the
    344344    core toolchain is self-contained and self-hosted. In
Note: See TracChangeset for help on using the changeset viewer.