aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/gcc-exp.xml8
-rw-r--r--chapter05/gcc-inst.xml2
2 files changed, 5 insertions, 5 deletions
diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml
index d6c50e954..b298990df 100644
--- a/chapter05/gcc-exp.xml
+++ b/chapter05/gcc-exp.xml
@@ -10,10 +10,10 @@ codes some paths while compiling and so we need to pass /static as the
prefix during ./configure. We pass the real install prefix during the
make install command later.</para>
-<para><userinput>--enable-languages=c,c++:</userinput> This only builds the C
-and C++ compilers and not the other available compilers as they are, on
-the average, not often used. If those other compilers are needed,
-the --enable-languages parameter can be omitted.</para>
+<para><userinput>--enable-languages=c:</userinput> This builds the C
+compiler. The C++ compiler will be built in chapter 6, when we rebuild
+GCC. Other compilers are available as well. If they are needed,
+the --enable-languages parameter may be omitted.</para>
<para><userinput>--enable-threads=posix:</userinput> This enables C++
exception handling for multithreaded code.</para>
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index ad1e168ba..13f283098 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -12,7 +12,7 @@ been warned.</para>
<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
cd ../gcc-build &amp;&amp;
-../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c,c++ \
+../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix &amp;&amp;
make BOOT_LDFLAGS=-static bootstrap &amp;&amp;
make prefix=$LFS/static install &amp;&amp;