From bc8b8a68814fbce2f7c55d2e4f772832f6946c8f Mon Sep 17 00:00:00 2001 From: Timothy Bauscher Date: Thu, 13 Jun 2002 04:22:33 +0000 Subject: Removed the compilation of the C++ compiler, which is not needed until after the second build. Made grammatic changes to the Shadow page. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-exp.xml | 8 ++++---- chapter05/gcc-inst.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'chapter05') 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. ---enable-languages=c,c++: 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. +--enable-languages=c: 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. --enable-threads=posix: This enables C++ exception handling for multithreaded code. 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. mkdir ../gcc-build && cd ../gcc-build && -../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c,c++ \ +../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \    --disable-nls --disable-shared --enable-threads=posix && make BOOT_LDFLAGS=-static bootstrap && make prefix=$LFS/static install && -- cgit v1.2.3-54-g00ecf