Changeset 05797fe


Ignore:
Timestamp:
05/17/2016 01:21:25 AM (6 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, 7.10, 7.10-rc1, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, BOOK.old, arm, cross-chap5, ml-11.0, multilib, nosym, old-trunk, trunk, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/lfs-next, xry111/tester-nohack, xry111/usr-move
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.