- Timestamp:
- 07/28/2021 01:43:47 PM (3 years ago)
- 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. - Location:
- chapter07
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/python.xml
r64a306d r00e8b532 81 81 <screen><userinput remap="make">make</userinput></screen> 82 82 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 83 96 <para>Install the package:</para> 84 97 -
chapter07/stripping.xml
r64a306d r00e8b532 91 91 92 92 <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> 105 105 106 106 <para>These commands will skip a number of files reporting that it does not … … 109 109 <quote>Binutils pass 2</quote>, since it is the one that knows how to strip 110 110 our cross-compiled programs.--></para> 111 112 <para>Take care <emphasis>NOT</emphasis> to use113 <parameter>--strip-unneeded</parameter> on the libraries. The static114 ones would be destroyed and the toolchain packages would need to be115 built all over again.</para>116 111 117 112 <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.