浏览代码

Updated stripping notes to reflect current findings.
Resolves ticket #1657.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7586 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Jeremy Huntwork 19 年之前
父节点
当前提交
0b37960b44
共有 3 个文件被更改,包括 11 次插入7 次删除
  1. 4 0
      chapter01/changelog.xml
  2. 6 6
      chapter05/stripping.xml
  3. 1 1
      chapter06/strippingagain.xml

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
     <listitem>
       <para>May 3, 2006</para>
       <para>May 3, 2006</para>
       <itemizedlist>
       <itemizedlist>
+        <listitem>
+          <para>[jhuntwork] - Updated stripping notes to reflect current
+          findings. Resolves ticket #1657.</para>
+        </listitem>
         <listitem>
         <listitem>
           <para>[archaic] - Updated the bug.c code to avoid USB-related uevent
           <para>[archaic] - Updated the bug.c code to avoid USB-related uevent
           leakage reports.</para>
           leakage reports.</para>

+ 6 - 6
chapter05/stripping.xml

@@ -12,7 +12,7 @@
 
 
   <para>The steps in this section are optional, but if the LFS partition is
   <para>The steps in this section are optional, but if the LFS partition is
   rather small, it is beneficial to learn that unnecessary items can be removed.
   rather small, it is beneficial to learn that unnecessary items can be removed.
-  The executables and libraries built so far contain about 130 MB of unneeded
+  The executables and libraries built so far contain about 70 MB of unneeded
   debugging symbols. Remove those symbols with:</para>
   debugging symbols. Remove those symbols with:</para>
 
 
 <screen><userinput>strip --strip-debug /tools/lib/*
 <screen><userinput>strip --strip-debug /tools/lib/*
@@ -27,13 +27,13 @@ strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>
   ones would be destroyed and the toolchain packages would need to be
   ones would be destroyed and the toolchain packages would need to be
   built all over again.</para>
   built all over again.</para>
 
 
-  <para>To save another 30 MB, remove the documentation:</para>
+  <para>To save nearly 20 MB more, remove the documentation:</para>
 
 
 <screen><userinput>rm -rf /tools/{info,man}</userinput></screen>
 <screen><userinput>rm -rf /tools/{info,man}</userinput></screen>
 
 
-  <para>There will now be at least 850 MB of free space on the LFS file
-  system that can be used to build and install Glibc in the next phase.
-  If you can build and install Glibc, you can build and install the rest
-  too.</para>
+  <para>At this point, you should have at least 850 MB of free space in
+  <envar>$LFS</envar> that can be used to build and install Glibc in the
+  next phase. If you can build and install Glibc, you can build and install
+  the rest too.</para>
 
 
 </sect1>
 </sect1>

+ 1 - 1
chapter06/strippingagain.xml

@@ -12,7 +12,7 @@
 
 
   <para>If the intended user is not a programmer and does not plan to do
   <para>If the intended user is not a programmer and does not plan to do
   any debugging on the system software, the system size can be decreased
   any debugging on the system software, the system size can be decreased
-  by about 200 MB by removing the debugging symbols from binaries and
+  by about 90 MB by removing the debugging symbols from binaries and
   libraries. This causes no inconvenience other than not being able to
   libraries. This causes no inconvenience other than not being able to
   debug the software fully anymore.</para>
   debug the software fully anymore.</para>