diff options
author | David Bryant <davidbryant@gvtc.com> | 2022-10-30 09:23:55 -0500 |
---|---|---|
committer | David Bryant <davidbryant@gvtc.com> | 2022-10-30 09:23:55 -0500 |
commit | f6820bb618ca967b074779498540bdc862de0c64 (patch) | |
tree | c81fde1c967abee77215b62645ac286c51ae4aad /chapter05/glibc.xml | |
parent | 019499e43bd48cb7f5a24d5dcba67fbb8b558984 (diff) |
Corrected spelling here and there. Regularized capitaization of package
names, corrected idiom / punctuation, and removed extraneous verbiage.
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r-- | chapter05/glibc.xml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 7b118c540..6b78031bc 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -58,13 +58,13 @@ esac</userinput></screen> <note> <para> The above command is correct. The <command>ln</command> command has - a few syntactic versions, so be sure to check + several syntactic versions, so be sure to check <command>info coreutils ln</command> and <filename>ln(1)</filename> - before reporting what you may think is an error. + before reporting what may appear to be an error. </para> </note> - <para>Some of the Glibc programs use the non-FHS compliant + <para>Some of the Glibc programs use the non-FHS-compliant <filename class="directory">/var/db</filename> directory to store their runtime data. Apply the following patch to make such programs store their runtime data in the FHS-compliant locations:</para> @@ -128,7 +128,7 @@ cd build</userinput></screen> <term><parameter>libc_cv_slibdir=/usr/lib</parameter></term> <listitem> <para>This ensures that the library is installed in /usr/lib instead - of the default /lib64 on 64 bit machines.</para> + of the default /lib64 on 64-bit machines.</para> </listitem> </varlistentry> @@ -146,11 +146,11 @@ cd build</userinput></screen> <para>The missing or incompatible <command>msgfmt</command> program is generally harmless. This <command>msgfmt</command> program is part of the - Gettext package which the host distribution should provide.</para> + Gettext package, which the host distribution should provide.</para> <note><para>There have been reports that this package may fail when - building as a "parallel make". If this occurs, rerun the make command - with a "-j1" option.</para></note> + building as a "parallel make". If that occurs, rerun the make command + with the "-j1" option.</para></note> <para>Compile the package:</para> @@ -161,9 +161,9 @@ cd build</userinput></screen> <warning><para>If <envar>LFS</envar> is not properly set, and despite the recommendations, you are building as <systemitem class="username">root</systemitem>, the next command will - install the newly built glibc to your host system, which most likely - will render it unusable. So double check that the environment is - correctly set, before running the following command.</para></warning> + install the newly built Glibc to your host system, which will almost + certainly render it unusable. So double-check that the environment is + correctly set, and that you are not &root;, before running the following command.</para></warning> <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> @@ -177,15 +177,15 @@ cd build</userinput></screen> packages to define the location where the package should be installed. If it is not set, it defaults to the root (<filename class="directory">/</filename>) directory. Here we specify that - the package be installed in <filename class="directory">$LFS - </filename>, which will become the root after <xref linkend= + the package is installed in <filename class="directory">$LFS + </filename>, which will become the root directory in <xref linkend= "ch-tools-chroot"/>.</para> </listitem> </varlistentry> </variablelist> - <para>Fix hardcoded path to the executable loader in + <para>Fix a hard coded path to the executable loader in the <command>ldd</command> script:</para> <screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i $LFS/usr/bin/ldd</userinput></screen> @@ -206,10 +206,10 @@ readelf -l a.out | grep ld-linux</userinput></screen> <para>Note that for 32-bit machines, the interpreter name will be <filename>/lib/ld-linux.so.2</filename>.</para> - <para>If the output is not shown as above or there was no output at all, + <para>If the output is not as shown above, or there is no output at all, then something is wrong. Investigate and retrace the steps to find out where the problem is and correct it. This issue must be resolved before - continuing on.</para> + continuing.</para> <para>Once all is well, clean up the test file:</para> @@ -217,14 +217,14 @@ readelf -l a.out | grep ld-linux</userinput></screen> </caution> - <note><para>Building packages in the next chapter will serve as an + <note><para>Building the packages in the next chapter will serve as an additional check that the toolchain has been built properly. If some - package, especially binutils-pass2 or gcc-pass2, fails to build, it is + package, especially Binutils-pass2 or GCC-pass2, fails to build, it is an indication that something has gone wrong with the - previous Binutils, GCC, or Glibc installations.</para></note> + preceding Binutils, GCC, or Glibc installations.</para></note> <para>Now that our cross-toolchain is complete, finalize the installation - of the limits.h header. For doing so, run a utility provided by the GCC + of the limits.h header. To do this, run a utility provided by the GCC developers:</para> <screen><userinput>$LFS/tools/libexec/gcc/$LFS_TGT/&gcc-version;/install-tools/mkheaders</userinput></screen> |