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
This commit is contained in:
Gerard Beekmans 2001-09-18 16:10:35 +00:00
parent 6d8aa0ea54
commit c90f09ce30
7 changed files with 10 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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