From b28fd35a823aac2255671733df034f2327480879 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 22 Jan 2006 13:13:52 +0000 Subject: Finished chapter 05 indentation. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7292 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/stripping.xml | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) (limited to 'chapter05/stripping.xml') diff --git a/chapter05/stripping.xml b/chapter05/stripping.xml index b1d4f7dfa..99c95fa82 100644 --- a/chapter05/stripping.xml +++ b/chapter05/stripping.xml @@ -1,38 +1,39 @@ - %general-entities; ]> + -Stripping - + + + Stripping -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 debugging symbols. Remove those symbols -with: + 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 + debugging symbols. Remove those symbols with: strip --strip-debug /tools/lib/* strip --strip-unneeded /tools/{,s}bin/* -The last of the above commands will skip some twenty files, -reporting that it does not recognize their file format. Most of these -are scripts instead of binaries. + The last of the above commands will skip some twenty files, + reporting that it does not recognize their file format. Most of these + are scripts instead of binaries. -Take care not to use ---strip-unneeded on the libraries. The static -ones would be destroyed and the toolchain packages would need to be -built all over again. + Take care not to use + --strip-unneeded on the libraries. The static + 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 another 30 MB, 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. + 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. - -- cgit v1.2.3-54-g00ecf