diff options
Diffstat (limited to 'chapter09/theend.xml')
-rw-r--r-- | chapter09/theend.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter09/theend.xml b/chapter09/theend.xml index c31b58c6c..fe341084d 100644 --- a/chapter09/theend.xml +++ b/chapter09/theend.xml @@ -8,6 +8,20 @@ with your new shiny custom built Linux system. </para> <para> +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: +</para> + +<blockquote><literallayout> + <userinput>find / -type f -exec strip --strip-debug '{}' ';'</userinput> +</literallayout></blockquote> + +<para> 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 this file it is very easy for you (and for us if you are going to ask |