mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
gcc-pass2: Fix description of LDFLAGS_FOR_TARGET=
Pass 2 libstdc++ still links to libgcc.a even with LDFLAGS_FOR_TARGET=, despite this libgcc.a is from pass 2 instead of pass 1. The difference between pass 2 libgcc and pass 1 libgcc is Glibc wasn't installed when the pass 1 libgcc was built. This difference causes both consequences (1) pass 1 libgcc lacks shared library and (2) pass 1 libgcc cannot support C++ EH, but it's not (1) causing (2).
This commit is contained in:
parent
837731717d
commit
217802b9c0
@ -138,10 +138,11 @@ cd build</userinput></screen>
|
||||
<term><parameter>LDFLAGS_FOR_TARGET=...</parameter></term>
|
||||
<listitem>
|
||||
<para>Allow <filename class="libraryfile">libstdc++</filename> to
|
||||
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>
|
||||
use the <filename class="libraryfile">libgcc</filename> being
|
||||
built in this pass, instead of the previous version built in
|
||||
<xref linkend='ch-tools-gcc-pass1'/>. The previous version cannot
|
||||
properly support C++ exception handling because it was built
|
||||
without libc support.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user