mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-20 03:05:04 +01:00
Updated stripping notes to reflect current findings.
Resolves ticket #1657. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7586 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
2914ab8c7a
commit
0b37960b44
@ -39,6 +39,10 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>May 3, 2006</para>
|
<para>May 3, 2006</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[jhuntwork] - Updated stripping notes to reflect current
|
||||||
|
findings. Resolves ticket #1657.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[archaic] - Updated the bug.c code to avoid USB-related uevent
|
<para>[archaic] - Updated the bug.c code to avoid USB-related uevent
|
||||||
leakage reports.</para>
|
leakage reports.</para>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<para>The steps in this section are optional, but if the LFS partition is
|
<para>The steps in this section are optional, but if the LFS partition is
|
||||||
rather small, it is beneficial to learn that unnecessary items can be removed.
|
rather small, it is beneficial to learn that unnecessary items can be removed.
|
||||||
The executables and libraries built so far contain about 130 MB of unneeded
|
The executables and libraries built so far contain about 70 MB of unneeded
|
||||||
debugging symbols. Remove those symbols with:</para>
|
debugging symbols. Remove those symbols with:</para>
|
||||||
|
|
||||||
<screen><userinput>strip --strip-debug /tools/lib/*
|
<screen><userinput>strip --strip-debug /tools/lib/*
|
||||||
@ -27,13 +27,13 @@ strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>
|
|||||||
ones would be destroyed and the toolchain packages would need to be
|
ones would be destroyed and the toolchain packages would need to be
|
||||||
built all over again.</para>
|
built all over again.</para>
|
||||||
|
|
||||||
<para>To save another 30 MB, remove the documentation:</para>
|
<para>To save nearly 20 MB more, remove the documentation:</para>
|
||||||
|
|
||||||
<screen><userinput>rm -rf /tools/{info,man}</userinput></screen>
|
<screen><userinput>rm -rf /tools/{info,man}</userinput></screen>
|
||||||
|
|
||||||
<para>There will now be at least 850 MB of free space on the LFS file
|
<para>At this point, you should have at least 850 MB of free space in
|
||||||
system that can be used to build and install Glibc in the next phase.
|
<envar>$LFS</envar> that can be used to build and install Glibc in the
|
||||||
If you can build and install Glibc, you can build and install the rest
|
next phase. If you can build and install Glibc, you can build and install
|
||||||
too.</para>
|
the rest too.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<para>If the intended user is not a programmer and does not plan to do
|
<para>If the intended user is not a programmer and does not plan to do
|
||||||
any debugging on the system software, the system size can be decreased
|
any debugging on the system software, the system size can be decreased
|
||||||
by about 200 MB by removing the debugging symbols from binaries and
|
by about 90 MB by removing the debugging symbols from binaries and
|
||||||
libraries. This causes no inconvenience other than not being able to
|
libraries. This causes no inconvenience other than not being able to
|
||||||
debug the software fully anymore.</para>
|
debug the software fully anymore.</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user