Changeset 00e8b532 for chapter07


Ignore:
Timestamp:
07/28/2021 01:43:47 PM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
ad40530
Parents:
64a306d (diff), 7f9a480 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge upstream changes

Location:
chapter07
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/python.xml

    r64a306d r00e8b532  
    8181<screen><userinput remap="make">make</userinput></screen>
    8282
     83    <note>
     84      <para>
     85        Some Python 3 modules can't be built now because the dependencies
     86        are not installed yet. The building system still attempts to build
     87        them however, so the compilation of some files will fail and the
     88        compiler message may seem to indicate <quote>fatal error</quote>.
     89        The message should be ignored.  Just make sure the toplevel
     90        <command>make</command> command has not failed.  The optional
     91        modules are not needed now and they will be built in
     92        <xref linkend="chapter-building-system"/>.
     93      </para>
     94    </note>
     95
    8396    <para>Install the package:</para>
    8497
  • chapter07/stripping.xml

    r64a306d r00e8b532  
    9191
    9292    <para>Strip off debugging symbols from binaries:</para>
    93 <screen arch="default" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib/*
    94 strip --strip-unneeded $LFS/usr/{,s}bin/*
    95 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    96 <screen arch="ml_32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,32}/*
    97 strip --strip-unneeded $LFS/usr/{,s}bin/*
    98 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    99 <screen arch="ml_x32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,x32}/*
    100 strip --strip-unneeded $LFS/usr/{,s}bin/*
    101 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    102 <screen arch="ml_all" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,{,x}32}/*
    103 strip --strip-unneeded $LFS/usr/{,s}bin/*
    104 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     93<screen arch="default" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib/*
     94$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     95$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     96<screen arch="ml_32" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,32}/*
     97$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     98$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     99<screen arch="ml_x32" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,x32}/*
     100$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     101$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     102<screen arch="ml_all" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,{,x}32}/*
     103$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     104$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    105105
    106106    <para>These commands will skip a number of files reporting that it does not
     
    109109    <quote>Binutils pass 2</quote>, since it is the one that knows how to strip
    110110    our cross-compiled programs.--></para>
    111 
    112     <para>Take care <emphasis>NOT</emphasis> to use
    113     <parameter>--strip-unneeded</parameter> on the libraries. The static
    114     ones would be destroyed and the toolchain packages would need to be
    115     built all over again.</para>
    116111
    117112    <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.