Ignore:
Timestamp:
07/28/2021 01:43:47 PM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
ad40530
Parents:
64a306d (diff), 7f9a480 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge upstream changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/stripping.xml

    r64a306d r00e8b532  
    9191
    9292    <para>Strip off debugging symbols from binaries:</para>
    93 <screen arch="default" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib/*
    94 strip --strip-unneeded $LFS/usr/{,s}bin/*
    95 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    96 <screen arch="ml_32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,32}/*
    97 strip --strip-unneeded $LFS/usr/{,s}bin/*
    98 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    99 <screen arch="ml_x32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,x32}/*
    100 strip --strip-unneeded $LFS/usr/{,s}bin/*
    101 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    102 <screen arch="ml_all" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,{,x}32}/*
    103 strip --strip-unneeded $LFS/usr/{,s}bin/*
    104 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     93<screen arch="default" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib/*
     94$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     95$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     96<screen arch="ml_32" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,32}/*
     97$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     98$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     99<screen arch="ml_x32" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,x32}/*
     100$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     101$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     102<screen arch="ml_all" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,{,x}32}/*
     103$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     104$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    105105
    106106    <para>These commands will skip a number of files reporting that it does not
     
    109109    <quote>Binutils pass 2</quote>, since it is the one that knows how to strip
    110110    our cross-compiled programs.--></para>
    111 
    112     <para>Take care <emphasis>NOT</emphasis> to use
    113     <parameter>--strip-unneeded</parameter> on the libraries. The static
    114     ones would be destroyed and the toolchain packages would need to be
    115     built all over again.</para>
    116111
    117112    <para>At this point, you should have at least 5 GB of free space on the
Note: See TracChangeset for help on using the changeset viewer.