Browse Source

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

Gerard Beekmans 24 years ago
parent
commit
c90f09ce30
7 changed files with 10 additions and 13 deletions
  1. 5 0
      chapter01/changelog.xml
  2. 3 0
      chapter05/gcc-exp.xml
  3. 1 1
      chapter05/gcc-inst.xml
  4. 0 9
      chapter06/gcc-exp.xml
  5. 1 1
      chapter06/gcc-inst.xml
  6. 0 1
      chapter06/gcc.xml
  7. 0 1
      index.xml

+ 5 - 0
chapter01/changelog.xml

@@ -15,6 +15,11 @@
 
 
 </para></listitem>
 </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:
 <listitem><para>September 17th, 2001 [gerard]: Chapter 6 - Psmisc:
 Added notes how to deal with psmisc's pidof symlink (in case sysvinit
 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
 isn't installed) and man page. Also, added --exec-prefix=/ to psmisc's

+ 3 - 0
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 average, not often used. If those other compilers are needed,
 the --enable-languages parameter can be omitted.</para>
 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
 <para><userinput>ln -sf ../usr/bin/cpp:</userinput> This
 creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
 creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
 cpp in /lib.</para>
 cpp in /lib.</para>

+ 1 - 1
chapter05/gcc-inst.xml

@@ -13,7 +13,7 @@ it comes with.</para>
 <userinput>mkdir ../gcc-build &amp;&amp;</userinput>
 <userinput>mkdir ../gcc-build &amp;&amp;</userinput>
 <userinput>cd ../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>../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 BOOT_LDFLAGS=-static bootstrap &amp;&amp;</userinput>
 <userinput>make prefix=$LFS/usr install &amp;&amp;</userinput>
 <userinput>make prefix=$LFS/usr install &amp;&amp;</userinput>
 <userinput>cd $LFS/lib &amp;&amp;</userinput>
 <userinput>cd $LFS/lib &amp;&amp;</userinput>

+ 0 - 9
chapter06/gcc-exp.xml

@@ -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>
-

+ 1 - 1
chapter06/gcc-inst.xml

@@ -21,7 +21,7 @@ who actively work on LFS.</para>
 <userinput>mkdir ../gcc-build &amp;&amp;</userinput>
 <userinput>mkdir ../gcc-build &amp;&amp;</userinput>
 <userinput>cd ../gcc-build &amp;&amp;</userinput>
 <userinput>cd ../gcc-build &amp;&amp;</userinput>
 <userinput>../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \</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 bootstrap &amp;&amp;</userinput>
 <userinput>make install</userinput></screen></para>
 <userinput>make install</userinput></screen></para>
 
 

+ 0 - 1
chapter06/gcc.xml

@@ -5,7 +5,6 @@
 Estimated required disk space:  &gcc-compsize;</screen>
 Estimated required disk space:  &gcc-compsize;</screen>
 
 
 &c6-gcc-inst;
 &c6-gcc-inst;
-&c6-gcc-exp;
 &aa-gcc-desc;
 &aa-gcc-desc;
 &ab-gcc-dep;
 &ab-gcc-dep;
 
 

+ 0 - 1
index.xml

@@ -200,7 +200,6 @@
 <!ENTITY c6-patch SYSTEM "chapter6/patch.xml">
 <!ENTITY c6-patch SYSTEM "chapter6/patch.xml">
 <!ENTITY c6-patch-inst SYSTEM "chapter6/patch-inst.xml">
 <!ENTITY c6-patch-inst SYSTEM "chapter6/patch-inst.xml">
 <!ENTITY c6-gcc SYSTEM "chapter6/gcc.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-gcc-inst SYSTEM "chapter6/gcc-inst.xml">
 <!ENTITY c6-bison SYSTEM "chapter6/bison.xml">
 <!ENTITY c6-bison SYSTEM "chapter6/bison.xml">
 <!ENTITY c6-bison-inst SYSTEM "chapter6/bison-inst.xml">
 <!ENTITY c6-bison-inst SYSTEM "chapter6/bison-inst.xml">