aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass1-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-pass1-inst.xml')
-rw-r--r--chapter05/gcc-pass1-inst.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter05/gcc-pass1-inst.xml b/chapter05/gcc-pass1-inst.xml
index 37cf4836e..00be02adc 100644
--- a/chapter05/gcc-pass1-inst.xml
+++ b/chapter05/gcc-pass1-inst.xml
@@ -20,15 +20,15 @@ cd ../gcc-build</userinput></screen></para>
<para>Prepare GCC to be compiled:</para>
-<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/stage1 \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-local-prefix=/stage1 \
+<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
+&nbsp;&nbsp;&nbsp;&nbsp;--with-local-prefix=/tools \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-nls --enable-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c</userinput></screen></para>
<para>The meaning of the new configure options:</para>
<itemizedlist>
-<listitem><para><userinput>--with-local-prefix=/stage1</userinput>: The
+<listitem><para><userinput>--with-local-prefix=/tools</userinput>: The
purpose of this switch is to remove <filename>/usr/local/include</filename>
from <userinput>gcc</userinput>'s include search path. This is not absolutely
essential, but we want to try and minimize the influence from the host system,
@@ -71,14 +71,14 @@ compiled correctly.</para></listitem>
<para><screen><userinput>make install</userinput></screen></para>
<para>As a finishing touch we'll create the <filename
-class="symlink">/stage1/bin/cc</filename> symlink. Many programs and
+class="symlink">/tools/bin/cc</filename> symlink. Many programs and
scripts run <userinput>cc</userinput> instead of <userinput>gcc</userinput>,
a thing meant to keep programs generic and therefore usable on all kinds of
Unix systems. Not everybody has the GNU C compiler installed. Simply running
<userinput>cc</userinput> leaves the system administrator free to decide what
C compiler to install, as long as there's a symlink pointing to it:</para>
-<para><screen><userinput>ln -sf gcc /stage1/bin/cc</userinput></screen></para>
+<para><screen><userinput>ln -sf gcc /tools/bin/cc</userinput></screen></para>
</sect2>