Changeset 00e8b532 for chapter07/stripping.xml
- Timestamp:
- 07/28/2021 01:43:47 PM (3 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/stripping.xml
r64a306d r00e8b532 91 91 92 92 <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> 105 105 106 106 <para>These commands will skip a number of files reporting that it does not … … 109 109 <quote>Binutils pass 2</quote>, since it is the one that knows how to strip 110 110 our cross-compiled programs.--></para> 111 112 <para>Take care <emphasis>NOT</emphasis> to use113 <parameter>--strip-unneeded</parameter> on the libraries. The static114 ones would be destroyed and the toolchain packages would need to be115 built all over again.</para>116 111 117 112 <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.