aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/glibc-inst.xml')
-rw-r--r--chapter05/glibc-inst.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml
index 6e57b51d5..7e433d3db 100644
--- a/chapter05/glibc-inst.xml
+++ b/chapter05/glibc-inst.xml
@@ -21,8 +21,8 @@ is putting the stability of your system at risk.</para>
complain about the absence of <filename>/etc/ld.so.conf</filename>.
Fix this annoying little error with:</para>
-<para><screen><userinput>mkdir /stage1/etc
-touch /stage1/etc/ld.so.conf</userinput></screen></para>
+<para><screen><userinput>mkdir /tools/etc
+touch /tools/etc/ld.so.conf</userinput></screen></para>
<para>Also, Glibc has a subtle problem when compiled with GCC 3.3.1.
Apply the following patch to fix this:</para>
@@ -38,10 +38,10 @@ cd ../glibc-build</userinput></screen></para>
<para>Next, prepare Glibc to be compiled:</para>
-<para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/stage1 \
+<para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-profile --enable-add-ons \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-headers=/stage1/include \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-binutils=/stage1/bin \
+&nbsp;&nbsp;&nbsp;&nbsp;--with-headers=/tools/include \
+&nbsp;&nbsp;&nbsp;&nbsp;--with-binutils=/tools/bin \
&nbsp;&nbsp;&nbsp;&nbsp;--without-gd</userinput></screen></para>
<para>The meaning of the new configure options:</para>
@@ -54,8 +54,8 @@ plan to do profiling.</para></listitem>
<listitem><para><userinput>--enable-add-ons</userinput>: This enables any
add-ons that were installed with Glibc, in our case Linuxthreads.</para></listitem>
-<listitem><para><userinput>--with-binutils=/stage1/bin</userinput> and
-<userinput>--with-headers=/stage1/include</userinput>: Strictly speaking
+<listitem><para><userinput>--with-binutils=/tools/bin</userinput> and
+<userinput>--with-headers=/tools/include</userinput>: Strictly speaking
these switches are not required. But they ensure nothing can go wrong with
regard to what kernel headers and Binutils programs get used during the
Glibc build.</para></listitem>