mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
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:
parent
6d8aa0ea54
commit
c90f09ce30
@ -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
|
||||
|
@ -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>
|
||||
|
@ -13,7 +13,7 @@ it comes with.</para>
|
||||
<userinput>mkdir ../gcc-build &&</userinput>
|
||||
<userinput>cd ../gcc-build &&</userinput>
|
||||
<userinput>../gcc-&gcc-version;/configure --prefix=/usr --enable-languages=c,c++ \</userinput>
|
||||
<userinput> --disable-nls --disable-shared &&</userinput>
|
||||
<userinput> --disable-nls --disable-shared --enable-threads=posix &&</userinput>
|
||||
<userinput>make BOOT_LDFLAGS=-static bootstrap &&</userinput>
|
||||
<userinput>make prefix=$LFS/usr install &&</userinput>
|
||||
<userinput>cd $LFS/lib &&</userinput>
|
||||
|
@ -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>
|
||||
|
@ -21,7 +21,7 @@ who actively work on LFS.</para>
|
||||
<userinput>mkdir ../gcc-build &&</userinput>
|
||||
<userinput>cd ../gcc-build &&</userinput>
|
||||
<userinput>../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \</userinput>
|
||||
<userinput> --enable-languages=c,c++ --enable-threads &&</userinput>
|
||||
<userinput> --enable-languages=c,c++ --enable-threads=posix &&</userinput>
|
||||
<userinput>make bootstrap &&</userinput>
|
||||
<userinput>make install</userinput></screen></para>
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
Estimated required disk space: &gcc-compsize;</screen>
|
||||
|
||||
&c6-gcc-inst;
|
||||
&c6-gcc-exp;
|
||||
&aa-gcc-desc;
|
||||
&ab-gcc-dep;
|
||||
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user