aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2018-06-20 15:20:49 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2018-06-20 15:20:49 +0000
commit1067bacad271a3b995ab47f8b340e13b20b48a34 (patch)
tree2c2cb113607a4bdadf20eb901d8c51eb6de25763
parent589c43a573f222122aa257a64fcaf26ad680f9eb (diff)
Update description/rationale for Libstdc++ in Chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11424 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter05/gcc-pass1.xml2
-rw-r--r--chapter05/libstdc++.xml10
2 files changed, 8 insertions, 4 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index e4c888294..b4d39ee9e 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-<sect1 id="ch-tools-gcc-pass1" role="wrap">
+<sect1 id="ch-tools-gcc-pass1" role="wrap" xreflabel="gcc-pass1">
<?dbhtml filename="gcc-pass1.html"?>
<sect1info condition="script">
diff --git a/chapter05/libstdc++.xml b/chapter05/libstdc++.xml
index 7cf3e7f42..d7b6eb95f 100644
--- a/chapter05/libstdc++.xml
+++ b/chapter05/libstdc++.xml
@@ -14,7 +14,7 @@
<address>&gcc-url;</address>
</sect1info>
- <title>Libstdc++-&gcc-version;</title>
+ <title>Libstdc++ from GCC-&gcc-version;</title>
<indexterm zone="ch-tools-libstdcpp">
<primary sortas="a-GCC">GCC</primary>
@@ -24,8 +24,12 @@
<sect2 role="package">
<title/>
- <para>Libstdc++ is the standard C++ library. It is needed for the correct
- operation of the g++ compiler.</para>
+ <para>Libstdc++ is the standard C++ library. It is needed
+ to compile C++ code
+ (part of GCC is written in C++), but we had to defer its installation
+ when we built <xref linkend="ch-tools-gcc-pass1"/>
+ because it depends on glibc, which was not yet available in /tools.
+ </para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>