From a1c95d1c0ee50a5bb8b706593f18b4bef7a8394f Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 17 Aug 2001 02:18:00 +0000 Subject: Added --enable-threads git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc-exp.xml | 3 +++ chapter06/gcc-inst.xml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/chapter06/gcc-exp.xml b/chapter06/gcc-exp.xml index 15a399d9d..9558b19e8 100644 --- a/chapter06/gcc-exp.xml +++ b/chapter06/gcc-exp.xml @@ -11,6 +11,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: This makes gcc thread +enabled. + ln -s ../usr/bin/cpp: This creates the $LFS/lib/cpp symlink. Some packages explicitly try to find cpp in /lib. diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 488544d18..9b2c62980 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -15,7 +15,8 @@ who actively work on LFS. mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr \ -   --enable-shared -enable-languages=c,c++ && +   --enable-shared -enable-languages=c,c++ \ +   --enable-threads && make bootstrap && make install -- cgit v1.2.3-54-g00ecf