aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-pass2-inst.xml')
-rw-r--r--chapter05/gcc-pass2-inst.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml
index f014658d7..1657d067e 100644
--- a/chapter05/gcc-pass2-inst.xml
+++ b/chapter05/gcc-pass2-inst.xml
@@ -24,7 +24,7 @@ fixed headers from the host system, which would most likely not match the Glibc
version actually used for the LFS system.</para>
<para>The last patch changes GCC's default location of the dynamic linker,
-a simple substitution of "/lib/ld-linux.so.2" with "/stage1/lib/ld-linux.so.2"
+a simple substitution of "/lib/ld-linux.so.2" with "/tools/lib/ld-linux.so.2"
in <filename>config/i386/linux.h</filename>. Patching now rather than adjusting
the specs file after installation ensures that our new dynamic linker gets
used during the actual build of GCC. That is, all the final (and temporary)
@@ -40,8 +40,8 @@ variables that override the default optimization flags.</para>
<para>Now 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;--enable-clocale=gnu --enable-shared \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-threads=posix --enable-__cxa_atexit \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++</userinput></screen></para>