aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/libstdc++-pass2.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-11 05:55:06 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-11 05:55:06 +0000
commitaefc8221f5cc504a8bc7a6354fda23ca7f78de79 (patch)
treec0cec08cce56091a37d890b99d3c388f14e76f38 /chapter07/libstdc++-pass2.xml
parent387a32af4bff50363c15788cf25f10ed26cfabd3 (diff)
Updates to the rest of cross2 Chapter 7.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11919 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/libstdc++-pass2.xml')
-rw-r--r--chapter07/libstdc++-pass2.xml26
1 files changed, 11 insertions, 15 deletions
diff --git a/chapter07/libstdc++-pass2.xml b/chapter07/libstdc++-pass2.xml
index 999a4fa4e..a10309f4b 100644
--- a/chapter07/libstdc++-pass2.xml
+++ b/chapter07/libstdc++-pass2.xml
@@ -24,18 +24,16 @@
<sect2 role="package">
<title/>
- <para>Again, when building <xref linkend="ch-tools-gcc-pass2"/>, we had to
- defer the installation of the C++ standard library, because no suitable
- compiler was available to compile it: we could not use the compiler
- installed, because this compiler is a native
- compiler, and should not be used outside of chroot without being at
- risk of polluting the build with some host components.</para>
+ <para>When building <xref linkend="ch-tools-gcc-pass2"/> we had to defer
+ the installation of the C++ standard library because no suitable compiler
+ was available to compile it. We could not use the compiler built in that
+ section because it is a native compiler and should not be used outside of
+ chroot and risk polluting the libraries with some host components.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
- <!-- TODO -->
<seglistitem>
<seg>&libstdcpp-ch5-sbu;</seg>
<seg>&libstdcpp-ch5-du;</seg>
@@ -53,17 +51,16 @@
<filename>gcc-&gcc-version;</filename> directory.</para>
</note>
- <para>Create a link which exists when building Libstdc++ in the gcc
- tree:</para>
+ <para>Create a link which exists when building libstdc++ in the gcc tree:</para>
<screen><userinput remap="pre">ln -s gthr-posix.h libgcc/gthr-default.h</userinput></screen>
- <para>Create a separate build directory for Libstdc++ and enter it:</para>
+ <para>Create a separate build directory for libstdc++ and enter it:</para>
<screen><userinput remap="pre">mkdir -v build
cd build</userinput></screen>
- <para>Prepare Libstdc++ for compilation:</para>
+ <para>Prepare libstdc++ for compilation:</para>
<screen><userinput remap="configure">../libstdc++-v3/configure \
CXXFLAGS="-g -O2 -D_GNU_SOURCE" \
@@ -78,8 +75,8 @@ cd build</userinput></screen>
<varlistentry>
<term><parameter>CXXFLAGS="-g -O2 -D_GNU_SOURCE"</parameter></term>
<listitem>
- <para>Those flags are passed by the top level Makefile when doing
- a full build of GCC.</para>
+ <para>These flags are passed by the top level Makefile when doing
+ a full build of GCC.</para>
</listitem>
</varlistentry>
@@ -106,8 +103,7 @@ cd build</userinput></screen>
<sect2 role="content">
<title/>
- <para>Details on this package are located in
- <xref linkend="contents-gcc" role="."/></para>
+ <para>Details on this package are located in <xref linkend="contents-gcc" role="."/></para>
</sect2>