فهرست منبع

Mentioned stripping debug symbols.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@539 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Simon Perreault 24 سال پیش
والد
کامیت
921d418f6b
1فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 14 0
      chapter09/theend.xml

+ 14 - 0
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.
 </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