From 0b37960b44cc20d9020d0d1c88362dbf718c8a55 Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Wed, 3 May 2006 21:38:35 +0000 Subject: [PATCH] Updated stripping notes to reflect current findings. Resolves ticket #1657. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7586 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 ++++ chapter05/stripping.xml | 12 ++++++------ chapter06/strippingagain.xml | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 0b911f825..b33303cae 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,10 @@ May 3, 2006 + + [jhuntwork] - Updated stripping notes to reflect current + findings. Resolves ticket #1657. + [archaic] - Updated the bug.c code to avoid USB-related uevent leakage reports. diff --git a/chapter05/stripping.xml b/chapter05/stripping.xml index 99c95fa82..6a8139033 100644 --- a/chapter05/stripping.xml +++ b/chapter05/stripping.xml @@ -12,7 +12,7 @@ The steps in this section are optional, but if the LFS partition is rather small, it is beneficial to learn that unnecessary items can be removed. - The executables and libraries built so far contain about 130 MB of unneeded + The executables and libraries built so far contain about 70 MB of unneeded debugging symbols. Remove those symbols with: strip --strip-debug /tools/lib/* @@ -27,13 +27,13 @@ strip --strip-unneeded /tools/{,s}bin/* ones would be destroyed and the toolchain packages would need to be built all over again. - To save another 30 MB, remove the documentation: + To save nearly 20 MB more, remove the documentation: rm -rf /tools/{info,man} - There will now be at least 850 MB of free space on the LFS file - system that can be used to build and install Glibc in the next phase. - If you can build and install Glibc, you can build and install the rest - too. + At this point, you should have at least 850 MB of free space in + $LFS that can be used to build and install Glibc in the + next phase. If you can build and install Glibc, you can build and install + the rest too. diff --git a/chapter06/strippingagain.xml b/chapter06/strippingagain.xml index 6ca4196eb..74e351799 100644 --- a/chapter06/strippingagain.xml +++ b/chapter06/strippingagain.xml @@ -12,7 +12,7 @@ If the intended user is not a programmer and does not plan to do any debugging on the system software, the system size can be decreased - by about 200 MB by removing the debugging symbols from binaries and + by about 90 MB by removing the debugging symbols from binaries and libraries. This causes no inconvenience other than not being able to debug the software fully anymore.