mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-03 10:59:21 +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>
|
||||
<para>May 3, 2006</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[jhuntwork] - Updated stripping notes to reflect current
|
||||
findings. Resolves ticket #1657.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[archaic] - Updated the bug.c code to avoid USB-related uevent
|
||||
leakage reports.</para>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<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.
|
||||
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>
|
||||
|
||||
<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
|
||||
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>
|
||||
|
||||
<para>There will now be at least 850 MB of free space on the LFS file
|
||||
system that can be used to build and install Glibc in the next phase.
|
||||
If you can build and install Glibc, you can build and install the rest
|
||||
too.</para>
|
||||
<para>At this point, you should have at least 850 MB of free space in
|
||||
<envar>$LFS</envar> that can be used to build and install Glibc in the
|
||||
next phase. If you can build and install Glibc, you can build and install
|
||||
the rest too.</para>
|
||||
|
||||
</sect1>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<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
|
||||
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
|
||||
debug the software fully anymore.</para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user