mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
Move .la-removal to top
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
d860650913
commit
6c329d77f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user