Ignore:
Timestamp:
12/20/2022 07:57:22 PM (21 months ago)
Author:
David Bryant <david@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
47c0603, c30b3cc
Parents:
0785a5e
Message:

Improve English idiom and make additional changes, for clarity.

Rephrased a clumsy sentence. Broke a run-on sentence in two.
Used adverbs, and the possessive case, where necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/stripping.xml

    r0785a5e r9c753b58  
    1313  <para>This section is optional.  If the intended user is not a
    1414  programmer and does not plan to do
    15   any debugging on the system software, the system size can be decreased
    16   by about 2 GB by removing the debugging symbols and unneeded symbol table
    17   entries from binaries and libraries. This causes no inconvenience other
    18   than not being able to debug the software fully anymore.</para>
     15  any debugging of the system software, the system's size can be decreased
     16  by some 2 GB by removing the debugging symbols, and some unnecessary symbol table
     17  entries, from binaries and libraries. This causes no real inconvenience for
     18  a typical Linux user.</para>
    1919
    2020  <para>Most people who use the commands mentioned below do not
    21   experience any difficulties. However, it is easy to make a typo and
    22   render the new system unusable, so before running the
     21  experience any difficulties. However, it is easy to make a mistake and
     22  render the new system unusable. So before running the
    2323  <command>strip</command> commands, it is a good idea to make a
    2424  backup of the LFS system in its current state.</para>
    2525
    26   <para>A <command>strip</command> command with
     26  <para>A <command>strip</command> command with the
    2727  <parameter>--strip-unneeded</parameter> option removes all debug symbols
    28   from a binary or library.  And, it removes all symbol table entries not
     28  from a binary or library.  It also removes all symbol table entries not
    2929  needed by the linker (for static libraries) or dynamic linker (for
    30   dynamic-linked binaries and shared libraries).</para>
     30  dynamically linked binaries and shared libraries).</para>
    3131
    32   <para>The debugging symbols for selected libraries are placed
    33   in separate files.  This debugging information is needed if running
    34   regression tests that use <ulink
     32  <para>The debugging symbols from selected libraries are preserved
     33  in separate files.  That debugging information is needed to run
     34  regression tests with <ulink
    3535  url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink
    36   url='&blfs-book;/general/gdb.html'>gdb</ulink> later in BLFS.
     36  url='&blfs-book;/general/gdb.html'>gdb</ulink> later, in BLFS.
    3737  </para>
    3838
    3939  <para>Note that <command>strip</command> will overwrite the binary or library
    4040  file it is processing.  This can crash the processes using code or data from
    41   the file.  If the process running <command>strip</command> itself is
    42   affected, the binary or library being stripped can be destroyed and can
    43   make the system completely unusable.  To avoid it, we'll copy some libraries
     41  the file.  If the process running <command>strip</command> is
     42  affected, the binary or library being stripped can be destroyed; this can
     43  make the system completely unusable.  To avoid this problem we copy some libraries
    4444  and binaries into <filename class="directory">/tmp</filename>, strip them
    45   there, and install them back with the <command>install</command> command.
    46   Read the related entry in <xref linkend="pkgmgmt-upgrade-issues"/> for the
    47   rationale to use the <command>install</command> command here.</para>
     45  there, then reinstall them with the <command>install</command> command.
     46  (The related entry in <xref linkend="pkgmgmt-upgrade-issues"/> gives the
     47  rationale for using the <command>install</command> command here.)</para>
    4848
    4949  <note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems
     
    112112</userinput></screen>
    113113
    114   <para>A large number of files will be reported as having their file
    115   format not recognized. These warnings can be safely ignored. They
    116   indicate that those files are scripts instead of binaries.</para>
     114  <para>A large number of files will be flagged as errors because their file
     115  format is not recognized. These warnings can be safely ignored. They
     116  indicate that those files are scripts, not binaries.</para>
    117117
    118118</sect1>
Note: See TracChangeset for help on using the changeset viewer.