diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-09-02 22:03:51 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-09-02 22:03:51 +0000 |
commit | 148bb04f8022ae1ea657d36ef04ff062bd023206 (patch) | |
tree | 163a20e0d2845c8e3d95609cf02b4f7b05825c7b /chapter05/gcc-pass1-inst.xml | |
parent | 40add9445978e2619b7601d4536179b9ab2c065a (diff) |
Renaming /stage1 to /tools.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2725 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass1-inst.xml')
-rw-r--r-- | chapter05/gcc-pass1-inst.xml | 10 |
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 \ - --with-local-prefix=/stage1 \ +<para><screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ + --with-local-prefix=/tools \ --disable-nls --enable-shared \ --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> |