From 6c329d77f0efd87bcc24b9869a015806509b5856 Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Mon, 22 Jun 2020 13:47:30 +0000 Subject: [PATCH] Move .la-removal to top git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/stripping.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/chapter07/stripping.xml b/chapter07/stripping.xml index 97c0e5805..9c2bd8c23 100644 --- a/chapter07/stripping.xml +++ b/chapter07/stripping.xml @@ -10,9 +10,16 @@ Cleaning up and Saving the Temporary System + 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: + +find /usr/{lib,libexec} -name \*.la -delete + - All the steps in this section are optional. Nevertheless, as soon - as you begin installing packages in , 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/* rm -rf $LFS/usr/share/{info,man,doc} - 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: - -find $LFS/usr/{lib,libexec} -name \*.la -delete - 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