From 921d418f6b5785b0a736b04526c89edfca24c209 Mon Sep 17 00:00:00 2001 From: Simon Perreault Date: Sat, 21 Apr 2001 17:05:11 +0000 Subject: [PATCH] Mentioned stripping debug symbols. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@539 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter09/theend.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/chapter09/theend.xml b/chapter09/theend.xml index c31b58c6c..fe341084d 100644 --- a/chapter09/theend.xml +++ b/chapter09/theend.xml @@ -7,6 +7,20 @@ been a long process but it was well worth it. We wish you a lot of fun with your new shiny custom built Linux system. + +Now would be a good time to strip all debug symbols from the binaries on your +LFS system. If you are not a programmer and don't plan on debugging your +software, then you will be happy to know that you can reclaim a few tens of megs +by removing debug symbols. This process causes no inconvenience other than not +being able to debug the software fully anymore, which is not an issue if you +don't know how to debug. You can remove the symbols by executing the following +command: + + +
+ find / -type f -exec strip --strip-debug '{}' ';' +
+ If you plan to ever upgrade to a newer LFS version in the future it will be a good idea to create the /etc/lfs-&version; file. By having