aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-09-18 16:10:35 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-09-18 16:10:35 +0000
commitc90f09ce30d0727d67605bce6d768ee4959e2aed (patch)
treed113223420c427c50fd69c9330b55ae59320c8bc
parent6d8aa0ea5437c72a02d4aa9fb14e9e96aaaaf48e (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
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter05/gcc-exp.xml3
-rw-r--r--chapter05/gcc-inst.xml2
-rw-r--r--chapter06/gcc-exp.xml9
-rw-r--r--chapter06/gcc-inst.xml2
-rw-r--r--chapter06/gcc.xml1
-rw-r--r--index.xml1
7 files changed, 10 insertions, 13 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 92a9b80e8..27d293cfc 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -15,6 +15,11 @@
</para></listitem>
+<listitem><para>September 18th, 2001 [gerard]: Chapter 5+6 - GCC:
+Added --enable-threads=posix to chapter 5, and changed --enable-threads to
+--enable-threads=posix in chapter 6. Although the default is posix threads when
+not specified, it's clearer this way what's being enabled.</para></listitem>
+
<listitem><para>September 17th, 2001 [gerard]: Chapter 6 - Psmisc:
Added notes how to deal with psmisc's pidof symlink (in case sysvinit
isn't installed) and man page. Also, added --exec-prefix=/ to psmisc's
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 &amp;&amp;</userinput>
<userinput>cd ../gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr --enable-languages=c,c++ \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared &amp;&amp;</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix &amp;&amp;</userinput>
<userinput>make BOOT_LDFLAGS=-static bootstrap &amp;&amp;</userinput>
<userinput>make prefix=$LFS/usr install &amp;&amp;</userinput>
<userinput>cd $LFS/lib &amp;&amp;</userinput>
diff --git a/chapter06/gcc-exp.xml b/chapter06/gcc-exp.xml
deleted file mode 100644
index 91b81a99c..000000000
--- a/chapter06/gcc-exp.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<sect2>
-<title>Command explanations</title>
-
-<para><userinput>--enable-threads:</userinput> C++ exception handling for
-multithreaded code will not work if gcc is compiled without
---enable-threads.</para>
-
-</sect2>
-
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 2bc3a397c..96305f03f 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -21,7 +21,7 @@ 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 --enable-shared \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads &amp;&amp;</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;</userinput>
<userinput>make bootstrap &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 34eceb8f9..19bb475ed 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -5,7 +5,6 @@
Estimated required disk space: &gcc-compsize;</screen>
&c6-gcc-inst;
-&c6-gcc-exp;
&aa-gcc-desc;
&ab-gcc-dep;
diff --git a/index.xml b/index.xml
index 9a3f47028..b1555ca97 100644
--- a/index.xml
+++ b/index.xml
@@ -200,7 +200,6 @@
<!ENTITY c6-patch SYSTEM "chapter6/patch.xml">
<!ENTITY c6-patch-inst SYSTEM "chapter6/patch-inst.xml">
<!ENTITY c6-gcc SYSTEM "chapter6/gcc.xml">
-<!ENTITY c6-gcc-exp SYSTEM "chapter6/gcc-exp.xml">
<!ENTITY c6-gcc-inst SYSTEM "chapter6/gcc-inst.xml">
<!ENTITY c6-bison SYSTEM "chapter6/bison.xml">
<!ENTITY c6-bison-inst SYSTEM "chapter6/bison-inst.xml">