diff options
Diffstat (limited to 'chapter08/stripping.xml')
-rw-r--r-- | chapter08/stripping.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml index 6841cd830..7f775b3d8 100644 --- a/chapter08/stripping.xml +++ b/chapter08/stripping.xml @@ -10,7 +10,7 @@ <title>Stripping</title> - <para>This section is optional. If the intended user is not a + <para>This section is optional. If the intended user is not a programmer and does not plan to do any debugging on the system software, the system size can be decreased by about 2 GB by removing the debugging symbols from binaries and @@ -24,9 +24,9 @@ backup of the LFS system in its current state.</para> <para>The debugging symbols for selected libraries are placed - in separate files. This debugging information is needed if running - regression tests that use <ulink - url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink + in separate files. This debugging information is needed if running + regression tests that use <ulink + url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink url='&blfs-book;/general/gdb.html'>gdb</ulink> later in BLFS. </para> @@ -41,7 +41,7 @@ rationale to use the <command>install</command> command here.</para> <note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems - and ld-linux.so.2 on 32-bit systems. The contruct below selects the + and ld-linux.so.2 on 32-bit systems. The contruct below selects the correct name for the current architecture.</para></note> <!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC --> @@ -50,10 +50,10 @@ <screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*) libc.so.6 libthread_db.so.1 - libquadmath.so.&libquadmath-version; + libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; - libitm.so.&libitm-version; - libatomic.so.&libatomic-version;" + libitm.so.&libitm-version; + libatomic.so.&libatomic-version;" cd /usr/lib @@ -93,9 +93,9 @@ for i in $(find /usr/lib -type f -name \*.so* ! -name \*dbg) \ $(find /usr/lib -type f -name \*.a) \ $(find /usr/{bin,sbin,libexec} -type f); do case "$online_usrbin $online_usrlib $save_usrlib" in - *$(basename $i)* ) + *$(basename $i)* ) ;; - * ) strip --strip-unneeded $i + * ) strip --strip-unneeded $i ;; esac done |