|
@@ -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
|