aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/libstdc++.xml
diff options
context:
space:
mode:
authorDavid Bryant <davidbryant@gvtc.com>2022-10-30 09:23:55 -0500
committerDavid Bryant <davidbryant@gvtc.com>2022-10-30 09:23:55 -0500
commitf6820bb618ca967b074779498540bdc862de0c64 (patch)
treec81fde1c967abee77215b62645ac286c51ae4aad /chapter05/libstdc++.xml
parent019499e43bd48cb7f5a24d5dcba67fbb8b558984 (diff)
Corrected spelling here and there. Regularized capitaization of package
names, corrected idiom / punctuation, and removed extraneous verbiage.
Diffstat (limited to 'chapter05/libstdc++.xml')
-rw-r--r--chapter05/libstdc++.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/chapter05/libstdc++.xml b/chapter05/libstdc++.xml
index c02c9aff8..e0ea2e790 100644
--- a/chapter05/libstdc++.xml
+++ b/chapter05/libstdc++.xml
@@ -28,7 +28,7 @@
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 the target
+ because Libstdc++ depends on Glibc, which was not yet available in the target
directory.
</para>
@@ -53,12 +53,12 @@
<filename>gcc-&gcc-version;</filename> directory.</para>
</note>
- <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 \
--host=$LFS_TGT \
@@ -75,7 +75,7 @@ cd build</userinput></screen>
<varlistentry>
<term><parameter>--host=...</parameter></term>
<listitem>
- <para>Specifies that the cross compiler we have just built
+ <para>Specifies that the cross-compiler we have just built
should be used instead of the one in
<filename>/usr/bin</filename>.</para>
</listitem>
@@ -93,27 +93,27 @@ cd build</userinput></screen>
<term><parameter>--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/&gcc-version;</parameter></term>
<listitem>
<para>This specifies the installation directory for include files.
- Because libstdc++ is the standard C++ library for LFS, this
+ Because Libstdc++ is the standard C++ library for LFS, this
directory should match the location where the C++ compiler
(<command>$LFS_TGT-g++</command>) would search for the
standard C++ include files. In a normal build, this information
- is automatically passed to the libstdc++ <command>configure</command>
+ is automatically passed to the Libstdc++ <command>configure</command>
options from the top level directory. In our case, this information
must be explicitly given.
The C++ compiler will prepend the sysroot path
- <filename class="directory">$LFS</filename> (specified building
- GCC pass 1) to the include file search path, so it will actually
+ <filename class="directory">$LFS</filename> (specified when building
+ GCC-pass1) to the include file search path, so it will actually
search in
<filename class="directory">$LFS/tools/$LFS_TGT/include/c++/&gcc-version;</filename>.
The combination of the <parameter>DESTDIR</parameter>
variable (in the <command>make install</command> command below)
- and this switch ensures to install the headers there.</para>
+ and this switch causes the headers to be installed there.</para>
</listitem>
</varlistentry>
</variablelist>
- <para>Compile libstdc++ by running:</para>
+ <para>Compile Libstdc++ by running:</para>
<screen><userinput remap="make">make</userinput></screen>
@@ -122,7 +122,7 @@ cd build</userinput></screen>
<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
<para>Remove the libtool archive files because they are harmful for
- cross compilation:</para>
+ cross-compilation:</para>
<screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++,stdc++fs,supc++}.la</userinput></screen>