Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/stripping.xml

    r45d8933 rd7e0db5  
    1616  While still in chroot, remove those files now:</para>
    1717
    18 <screen><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
     18<screen arch="default"><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
     19<screen arch="ml_32"><userinput>find /usr/{lib{,32},libexec} -name \*.la -delete</userinput></screen>
     20<screen arch="ml_x32"><userinput>find /usr/{lib{,x32},libexec} -name \*.la -delete</userinput></screen>
     21<screen arch="ml_all"><userinput>find /usr/{lib{,{,x}32},libexec} -name \*.la -delete</userinput></screen>
    1922
    2023    <para>Remove the documentation of the temporary tools, to prevent them
     
    8891
    8992    <para>Strip off debugging symbols from binaries:</para>
    90 <screen role="nodump"><userinput>strip --strip-debug $LFS/usr/lib/*
     93<screen arch="default" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib/*
     94strip --strip-unneeded $LFS/usr/{,s}bin/*
     95strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     96<screen arch="ml_32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,32}/*
     97strip --strip-unneeded $LFS/usr/{,s}bin/*
     98strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     99<screen arch="ml_x32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,x32}/*
     100strip --strip-unneeded $LFS/usr/{,s}bin/*
     101strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     102<screen arch="ml_all" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,{,x}32}/*
    91103strip --strip-unneeded $LFS/usr/{,s}bin/*
    92104strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.