diff options
author | Simon Perreault <nomis80@videotron.ca> | 2001-04-21 17:05:11 +0000 |
---|---|---|
committer | Simon Perreault <nomis80@videotron.ca> | 2001-04-21 17:05:11 +0000 |
commit | 921d418f6b5785b0a736b04526c89edfca24c209 (patch) | |
tree | 63a6c4a5e4d88c48a4be6e30f4ccb913b002cbfc /chapter09/theend.xml | |
parent | 9a0cfdff035593e10b57ea7a89706c7f272f6ddc (diff) |
Mentioned stripping debug symbols.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@539 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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 |