aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/chapter05.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/chapter05.xml')
-rw-r--r--chapter05/chapter05.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml
index 7d8cd2951..bcb86198d 100644
--- a/chapter05/chapter05.xml
+++ b/chapter05/chapter05.xml
@@ -4,7 +4,7 @@
&c5-introduction;
&c5-whystatic;
-&c5-creatingstage1dir;
+&c5-creatingtoolsdir;
&c5-addinguser;
&c5-settingenviron;
&c5-binutils-pass1;
@@ -45,8 +45,8 @@ can throw away some unnecessary things. The executables and libraries you have
built so far contain about 130 MB of unneeded debugging symbols. Remove those
symbols like this:</para>
-<para><screen><userinput>strip --strip-unneeded /stage1/{,s}bin/*
-strip --strip-debug /stage1/lib/*</userinput></screen></para>
+<para><screen><userinput>strip --strip-unneeded /tools/{,s}bin/*
+strip --strip-debug /tools/lib/*</userinput></screen></para>
<para>The first of the above commands will skip some twenty files, reporting
that it doesn't recognize their file format. Most of them are scripts instead
@@ -59,8 +59,8 @@ destroyed and you would have to build Glibc all over again.</para>
<para>To save another couple of megabytes, you can throw away the documentation
and some of the bigger unneeded programs:</para>
-<para><screen><userinput>rm -r /stage1/share/{doc,info,man}
-rm /stage1/bin/{addr2line,gprof,nm,size,strings,strip}</userinput></screen></para>
+<para><screen><userinput>rm -r /tools/share/{doc,info,man}
+rm /tools/bin/{addr2line,gprof,nm,size,strings,strip}</userinput></screen></para>
<para>You will now need to have at least 700 MB of free space on your LFS
filesystem to be able to build and install Glibc in the next phase.</para>