aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/stripping.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/stripping.xml')
-rw-r--r--chapter05/stripping.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/chapter05/stripping.xml b/chapter05/stripping.xml
index 2d8fe6568..ad2cb3ae0 100644
--- a/chapter05/stripping.xml
+++ b/chapter05/stripping.xml
@@ -16,10 +16,11 @@
debugging symbols. Remove those symbols with:</para>
<screen><userinput>strip --strip-debug /tools/lib/*
-strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>
+/usr/bin/strip --strip-unneeded /tools/{,s}bin/*</userinput></screen>
<para>These commands will skip a number of files, reporting that it does not
- recognize their file format. Most of these are scripts instead of binaries.</para>
+ recognize their file format. Most of these are scripts instead of binaries.
+ Also use the system strip command to include the strip binary in /tools.</para>
<para>Take care <emphasis>not</emphasis> to use
<parameter>--strip-unneeded</parameter> on the libraries. The static