Changeset d7e0db5 for chapter07


Ignore:
Timestamp:
03/31/2021 10:41:40 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
ee1eb70
Parents:
4ea78e0
git-author:
Thomas Trepl <thomas@…> (08/23/2020 08:15:14 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:40 AM)
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12034 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter07
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter07/libstdc++-pass2.xml

    r4ea78e0 rd7e0db5  
    6363    <para>Prepare libstdc++ for compilation:</para>
    6464
    65 <screen arch="default"><userinput remap="configure">
    66 ../libstdc++-v3/configure            \
     65<screen arch="default"><userinput remap="configure">../libstdc++-v3/configure            \
    6766    CXXFLAGS="-g -O2 -D_GNU_SOURCE"  \
    6867    --prefix=/usr                    \
  • chapter07/perl.xml

    r4ea78e0 rd7e0db5  
    4949             -Dprefix=/usr                               \
    5050             -Dvendorprefix=/usr                         \
    51              -Dprivlib=/usr/lib/perl5/5.32/core_perl     \
    52              -Darchlib=/usr/lib/perl5/5.32/core_perl     \
    53              -Dsitelib=/usr/lib/perl5/5.32/site_perl     \
    54              -Dsitearch=/usr/lib/perl5/5.32/site_perl    \
    55              -Dvendorlib=/usr/lib/perl5/5.32/vendor_perl \
    56              -Dvendorarch=/usr/lib/perl5/5.32/vendor_perl</userinput></screen>
     51             -Dprivlib=/usr/lib/perl5/&perl-version-min;/core_perl     \
     52             -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl     \
     53             -Dsitelib=/usr/lib/perl5/&perl-version-min;/site_perl     \
     54             -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl    \
     55             -Dvendorlib=/usr/lib/perl5/&perl-version-min;/vendor_perl \
     56             -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl</userinput></screen>
    5757
    5858    <variablelist>
  • chapter07/stripping.xml

    r4ea78e0 rd7e0db5  
    1616  While still in chroot, remove those files now:</para>
    1717
    18 <screen><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
     18<screen arch="default"><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
     19<screen arch="ml_32"><userinput>find /usr/{lib{,32},libexec} -name \*.la -delete</userinput></screen>
     20<screen arch="ml_x32"><userinput>find /usr/{lib{,x32},libexec} -name \*.la -delete</userinput></screen>
     21<screen arch="ml_all"><userinput>find /usr/{lib{,{,x}32},libexec} -name \*.la -delete</userinput></screen>
     22
     23    <para>Remove the documentation of the temporary tools, to prevent them
     24    from ending up in the final system, and save about 35 MB:</para>
     25
     26<screen><userinput>rm -rf /usr/share/{info,man,doc}/*</userinput></screen>
    1927
    2028  <note><para>
     
    8391
    8492    <para>Strip off debugging symbols from binaries:</para>
    85 <screen role="nodump"><userinput>strip --strip-debug $LFS/usr/lib/*
     93<screen arch="default" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib/*
     94strip --strip-unneeded $LFS/usr/{,s}bin/*
     95strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     96<screen arch="ml_32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,32}/*
     97strip --strip-unneeded $LFS/usr/{,s}bin/*
     98strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     99<screen arch="ml_x32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,x32}/*
     100strip --strip-unneeded $LFS/usr/{,s}bin/*
     101strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     102<screen arch="ml_all" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,{,x}32}/*
    86103strip --strip-unneeded $LFS/usr/{,s}bin/*
    87104strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     
    97114    ones would be destroyed and the toolchain packages would need to be
    98115    built all over again.</para>
    99 
    100     <para>To save more space (slightly more than 35 MB), remove the documentation:</para>
    101 
    102 <screen role="nodump"><userinput>rm -rf $LFS/usr/share/{info,man,doc}</userinput></screen>
    103116
    104117    <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.