Changeset 05797fe


Ignore:
Timestamp:
05/17/2016 01:21:25 AM (8 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
cfb4e55
Parents:
e5cd5e3
Message:

Enhance the stripping commands at the end of Chapter 6

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11064 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    re5cd5e3 r05797fe  
    4040      <itemizedlist>
    4141        <listitem>
     42          <para>[bdubbs] - Enhance the stripping commands at the end
     43          of Chapter 6.</para>
     44        </listitem>
     45        <listitem>
    4246          <para>[bdubbs] - Made editorial changes to the kernel section.
    4347          </para>
  • chapter06/strippingagain.xml

    re5cd5e3 r05797fe  
    4040  <para>Now the binaries and libraries can be safely stripped:</para>
    4141
    42 <screen><userinput>/tools/bin/find /{,usr/}{bin,lib,sbin} -type f \
    43     -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen>
     42<screen><userinput>/tools/bin/find /usr/lib -type f -name \*.a \
     43   -exec /tools/bin/strip --strip-debug {} ';'
     44
     45/tools/bin/find /lib /usr/lib -type f -name \*.so* \
     46   -exec /tools/bin/strip --strip-unneeded {} ';'
     47
     48/tools/bin/find /{bin,sbin} /usr/{bin,sbin,libexec} -type f \
     49    -exec /tools/bin/strip --strip-all {} ';'</userinput></screen>
    4450
    4551  <para>A large number of files will be reported as having their file
Note: See TracChangeset for help on using the changeset viewer.