Changeset b157558 for chapter05/chapter05.xml
- Timestamp:
- 02/22/2004 10:32:27 PM (20 years ago)
- 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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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, v5_1, v5_1_1, 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:
- f89de33
- Parents:
- cd0c92d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/chapter05.xml
rcd0c92d6 rb157558 574 574 <?dbhtml filename="stripping.html" dir="chapter05"?> 575 575 576 <para>The steps in this section are optional . If your LFS partition is rather577 small, you will be glad to learn that you can throw awaysome unnecessary578 things. The executables and libraries you have built so far contain about 130 MB579 of unneeded debugging symbols. Remove those symbols like this:</para>580 581 <screen><userinput>strip --strip- unneeded /tools/{,s}bin/*582 strip --strip- debug /tools/lib/*</userinput></screen>583 584 <para>The first of the above commands will skip some twenty files, reporting576 <para>The steps in this section are optional, but if your LFS partition is 577 rather small, you will be glad to learn that you can remove some unnecessary 578 things. The executables and libraries you have built so far contain about 130 579 MB of unneeded debugging symbols. Remove those symbols with:</para> 580 581 <screen><userinput>strip --strip-debug /tools/lib/* 582 strip --strip-unneeded /tools/{,s}bin/*</userinput></screen> 583 584 <para>The last of the above commands will skip some twenty files, reporting 585 585 that it doesn't recognize their file format. Most of them are scripts instead 586 586 of binaries.</para>
Note:
See TracChangeset
for help on using the changeset viewer.