Changeset 70364ce for chapter09/theend.xml
- Timestamp:
- 08/29/2001 08:08:18 PM (23 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, v3_0, v3_1, v3_2, v3_3, v4_0, v4_1, v5_0, 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:
- e30bc19d
- Parents:
- 2bdc67d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/theend.xml
r2bdc67d r70364ce 11 11 reclaim a few tens of megs by removing debug symbols. This process causes 12 12 no inconvenience other than not being able to debug the software fully 13 anymore, which is not an issue if you don't know how to debug. You can 14 remove the symbols by executing the following command:</para> 13 anymore, which is not an issue if you don't know how to debug.</para> 15 14 16 15 <para>Disclaimer: 98% of the people who use the command mentioned below don't … … 18 17 you run this command. There's a slight chance it may backfire on you and 19 18 render your system unusable (mostly by destroying your kernel modules 20 and dynamic & shared libraries).</para> 19 and dynamic & shared libraries). This is more often caused by typo's 20 than by a problem with the command used.</para> 21 21 22 <para>Having that said, the --strip-debug option to strip is quite harmless23 under normal circumstances. It doesn't strip anything vital from the 24 files. It also is quite safe to use --strip-all on regular programs22 <para>Having said that, the --strip-debug option we use to strip is quite 23 harmless under normal circumstances. It doesn't strip anything vital from 24 the files. It also is quite safe to use --strip-all on regular programs 25 25 (don't use that on libraries - they will be destroyed) but it's not as 26 26 safe and the space you gain is not all that much. But if you're tight on … … 33 33 <userinput> -exec /usr/bin/strip --strip-debug '{}' ';'</userinput></screen></para> 34 34 35 <para>If you plan to ever upgrade to a newer LFS version in the future it 36 will be a good idea to create the $LFS/etc/lfs-&version; file. By having 37 this file it is very easy for you (and for us if you are going to ask 35 <para>It may be a good idea to create the $LFS/etc/lfs-&version; file. By 36 having this file it is very easy for you (and for us if you are going to ask 38 37 for help with something at some point) to find out which LFS version 39 38 you have installed on your system. This can just be a null-byte file by
Note:
See TracChangeset
for help on using the changeset viewer.