mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Mentioned stripping debug symbols.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@539 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
9a0cfdff03
commit
921d418f6b
@ -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.
|
||||
</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
|
||||
|
Loading…
Reference in New Issue
Block a user