Ignore:
Timestamp:
06/22/2020 01:47:30 PM (4 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
92f1b84
Parents:
d860650
Message:

Move .la-removal to top

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/stripping.xml

    rd860650 r6c329d7  
    1111  <title>Cleaning up and Saving the Temporary System</title>
    1212 
     13  <para>The libtool .la files are only useful when linking with static
     14  libraries. They are unneeded, and potentially harmful, when using dynamic
     15  shared libraries, specially when using non-autotools build systems.
     16  While still in chroot, remove those files now:</para>
     17
     18<screen role="nodump"><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
     19
    1320  <note><para>
    14     All the steps in this section are optional. Nevertheless, as soon
    15     as you begin installing packages in <xref
     21    All the remaining steps in this section are optional. Nevertheless,
     22    as soon as you begin installing packages in <xref
    1623    linkend="chapter-building-system"/>, the temporary tools will be
    1724    overwritten. So it may be a good idea to do a backup of the temporary
     
    94101
    95102<screen role="nodump"><userinput>rm -rf $LFS/usr/share/{info,man,doc}</userinput></screen>
    96 
    97     <para>The libtool .la files are only useful when linking with static
    98     libraries. They are unneeded, and potentially harmful, when using dynamic
    99     shared libraries, specially when using non-autotools build systems.
    100     Remove those files now:</para>
    101 
    102 <screen role="nodump"><userinput>find $LFS/usr/{lib,libexec} -name \*.la -delete</userinput></screen>
    103103
    104104    <para>At this point, you should have at least 5 GB of free space on the
Note: See TracChangeset for help on using the changeset viewer.