diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-09-18 16:10:35 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-09-18 16:10:35 +0000 |
commit | c90f09ce30d0727d67605bce6d768ee4959e2aed (patch) | |
tree | d113223420c427c50fd69c9330b55ae59320c8bc /chapter05 | |
parent | 6d8aa0ea5437c72a02d4aa9fb14e9e96aaaaf48e (diff) |
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
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/gcc-exp.xml | 3 | ||||
-rw-r--r-- | chapter05/gcc-inst.xml | 2 |
2 files changed, 4 insertions, 1 deletions
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.</para> +<para><userinput>--enable-threads=posix:</userinput> This enables C++ +exception handling for multithreaded code.</para> + <para><userinput>ln -sf ../usr/bin/cpp:</userinput> This creates the $LFS/lib/cpp symlink. Some packages explicitly try to find cpp in /lib.</para> 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.</para> <userinput>mkdir ../gcc-build &&</userinput> <userinput>cd ../gcc-build &&</userinput> <userinput>../gcc-&gcc-version;/configure --prefix=/usr --enable-languages=c,c++ \</userinput> -<userinput> --disable-nls --disable-shared &&</userinput> +<userinput> --disable-nls --disable-shared --enable-threads=posix &&</userinput> <userinput>make BOOT_LDFLAGS=-static bootstrap &&</userinput> <userinput>make prefix=$LFS/usr install &&</userinput> <userinput>cd $LFS/lib &&</userinput> |