diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index 43c99423a..15dc47cc1 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -36,7 +36,7 @@ achieve this easily, you could do something like:
Now prepare Binutils for compilation:
-../binutils-&binutils-version;/configure \
+../&binutils-dir;/configure \
--prefix=/tools --disable-nls
The meaning of the configure options:
diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml
index 7617470c4..5b521f033 100644
--- a/chapter05/binutils-pass2.xml
+++ b/chapter05/binutils-pass2.xml
@@ -21,7 +21,7 @@ cd ../binutils-build
Now prepare Binutils for compilation:
-../binutils-&binutils-version;/configure --prefix=/tools \
+../&binutils-dir;/configure --prefix=/tools \
--enable-shared --with-lib-path=/tools/lib
The meaning of the new configure option:
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index c994e7650..a0d4af5c7 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -32,7 +32,7 @@ cd ../gcc-build
Prepare GCC for compilation:
-../gcc-&gcc-version;/configure --prefix=/tools \
+../&gcc-dir;/configure --prefix=/tools \
--with-local-prefix=/tools \
--disable-nls --enable-shared \
--enable-languages=c
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 8cd11d026..762ce0d17 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -37,7 +37,7 @@ get PTYs working.
This time we will build both the C and the C++ compilers, so you'll have
to unpack all three GCC tarballs (-core, -g++, and -testsuite) in one and the
same working directory. They will all unfold into a single
-gcc-&gcc-version;/ subdirectory.
+&gcc-dir;/ subdirectory.
First correct one problem and make an essential adjustment:
@@ -77,7 +77,7 @@ variables that override the default optimization flags.
Now prepare GCC for compilation:
-../gcc-&gcc-version;/configure --prefix=/tools \
+../&gcc-dir;/configure --prefix=/tools \
--with-local-prefix=/tools \
--enable-clocale=gnu --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
@@ -128,7 +128,7 @@ through to completion and not stop at the first failure. The GCC test suite is
very comprehensive and is almost guaranteed to generate a few failures. To get
a summary of the test suite results, run this:
-../gcc-&gcc-version;/contrib/test_summary | more
+../&gcc-dir;/contrib/test_summary | more
You can compare your results to those posted to the gcc-testresults
mailing list for similar configurations to your own. For an example of how
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 02f771868..8a95589ac 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -49,7 +49,7 @@ cd ../binutils-build
Now prepare Binutils for compilation:
-../binutils-&binutils-version;/configure \
+../&binutils-dir;/configure \
--prefix=/usr --enable-shared
Compile the package:
@@ -79,7 +79,7 @@ doubts.
Install the libiberty header file that is needed by
some packages:
-cp ../binutils-&binutils-version;/include/libiberty.h /usr/include
+cp ../&binutils-dir;/include/libiberty.h /usr/include
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 93f58ba04..ed22a5389 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -24,7 +24,7 @@ cd ../e2fsprogs-build
Prepare E2fsprogs for compilation:
-../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
+../&e2fsprogs-dir;/configure --prefix=/usr --with-root-prefix="" \
--enable-elf-shlibs
The meaning of the configure options:
diff --git a/chapter06/gcc-2953.xml b/chapter06/gcc-2953.xml
index 4e967285f..0afb56167 100644
--- a/chapter06/gcc-2953.xml
+++ b/chapter06/gcc-2953.xml
@@ -59,7 +59,7 @@ cd ../gcc-2-build
Compile and install the compiler:
-../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \
+../&gcc-2953-dir;/configure --prefix=/opt/&gcc-2953-dir; \
--enable-shared --enable-languages=c \
--enable-threads=posix
make bootstrap
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 9609b8713..f234fd891 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -58,7 +58,7 @@ cd ../gcc-build
Now prepare GCC for compilation:
-../gcc-&gcc-version;/configure --prefix=/usr \
+../&gcc-dir;/configure --prefix=/usr \
--enable-shared --enable-threads=posix \
--enable-__cxa_atexit --enable-clocale=gnu \
--enable-languages=c,c++
diff --git a/index.xml b/index.xml
index 20c519abf..17d1f717b 100644
--- a/index.xml
+++ b/index.xml
@@ -2,8 +2,8 @@
-
+
+