From c90f09ce30d0727d67605bce6d768ee4959e2aed Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Tue, 18 Sep 2001 16:10:35 +0000 Subject: added --enable-threads=posix to chapter 5-gcc, updated chapter 6 from --enable-threads to --enable-threads=posix (for clarity, since posix is the default). git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1239 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-exp.xml | 3 +++ chapter05/gcc-inst.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'chapter05') diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index 1aeecadff..0f29ccffe 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -20,6 +20,9 @@ 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-threads=posix: This enables C++ +exception handling for multithreaded code. + ln -sf ../usr/bin/cpp: This creates the $LFS/lib/cpp symlink. Some packages explicitly try to find cpp in /lib. diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index 575ee0141..2ee6d383e 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -13,7 +13,7 @@ it comes with. mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr --enable-languages=c,c++ \ -   --disable-nls --disable-shared && +   --disable-nls --disable-shared --enable-threads=posix && make BOOT_LDFLAGS=-static bootstrap && make prefix=$LFS/usr install && cd $LFS/lib && -- cgit v1.2.3-54-g00ecf