aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-08-17 02:18:00 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-08-17 02:18:00 +0000
commita1c95d1c0ee50a5bb8b706593f18b4bef7a8394f (patch)
tree9935a7f0c7ebe66795ad600562860dc4a78c8ead
parentf12213ad91a4684e5235971a402a70438db4d5b2 (diff)
Added --enable-threads
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/gcc-exp.xml3
-rw-r--r--chapter06/gcc-inst.xml3
2 files changed, 5 insertions, 1 deletions
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.</para>
+<para><userinput>--enable-threads:</userinput> This makes gcc thread
+enabled.</para>
+
<para><userinput>ln -s ../usr/bin/cpp:</userinput> This
creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
cpp in /lib.</para>
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.</para>
<userinput>mkdir ../gcc-build &amp;&amp;</userinput>
<userinput>cd ../gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--enable-shared -enable-languages=c,c++ &amp;&amp;</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;--enable-shared -enable-languages=c,c++ \</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;--enable-threads &amp;&amp;</userinput>
<userinput>make bootstrap &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>