Преглед на файлове

Move .la-removal to top

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Thomas Trepl преди 4 години
родител
ревизия
6c329d77f0
променени са 1 файла, в които са добавени 9 реда и са изтрити 9 реда
  1. 9 9
      chapter07/stripping.xml

+ 9 - 9
chapter07/stripping.xml

@@ -10,9 +10,16 @@
 
   <title>Cleaning up and Saving the Temporary System</title>
   
+  <para>The libtool .la files are only useful when linking with static
+  libraries. They are unneeded, and potentially harmful, when using dynamic
+  shared libraries, specially when using non-autotools build systems.
+  While still in chroot, remove those files now:</para>
+
+<screen role="nodump"><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
+
   <note><para>
-    All the steps in this section are optional. Nevertheless, as soon
-    as you begin installing packages in <xref
+    All the remaining steps in this section are optional. Nevertheless,
+    as soon as you begin installing packages in <xref
     linkend="chapter-building-system"/>, the temporary tools will be
     overwritten. So it may be a good idea to do a backup of the temporary
     tools as described below. The other steps are only needed if you are
@@ -94,13 +101,6 @@ strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
 
 <screen role="nodump"><userinput>rm -rf $LFS/usr/share/{info,man,doc}</userinput></screen>
 
-    <para>The libtool .la files are only useful when linking with static
-    libraries. They are unneeded, and potentially harmful, when using dynamic
-    shared libraries, specially when using non-autotools build systems.
-    Remove those files now:</para>
-
-<screen role="nodump"><userinput>find $LFS/usr/{lib,libexec} -name \*.la -delete</userinput></screen>
-
     <para>At this point, you should have at least 5 GB of free space on the
     chroot partition that can be used to build and install Glibc and GCC in
     the next phase. If you can build and install Glibc, you can build and install