added --enable-threads=posix to complete the C++ addition

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2580 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2003-05-12 03:29:23 +00:00
parent 0aae623795
commit bf2d7c125f
4 changed files with 9 additions and 3 deletions

View File

@ -71,7 +71,11 @@
</itemizedlist>
</para></listitem>
<listitem><para>May 11th, 2003 [gerard]: Chapter 06 - Gcc-2.95.3: Added
<listitem><para>May 11th, 2003 [gerard]: Chapter 06 - GCC-2.95.3: Added
--enable-threads=posix as well to complete the C++
addition.</para></listitem>
<listitem><para>May 11th, 2003 [gerard]: Chapter 06 - GCC-2.95.3: Added
--enable-languages=c,c++ to fix that gcc's version bug with regards to
-Wreturn-type.</para>
<para>Fixes bug #525</para></listitem>

View File

@ -3,7 +3,7 @@
<sect2>
<title>Installation of GCC</title>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-specs-3.patch
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-specs-version;.patch
patch -Np1 -i ../gcc-&gcc-version;-mmap_test.patch
patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch</userinput></screen></para>

View File

@ -14,7 +14,8 @@ echo timestamp > gcc/cstamp-h.in
mkdir ../gcc-2-build
cd ../gcc-2-build
../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-languages=c,c++
&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-languages=c,c++ \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-threads=posix
make bootstrap
make install</userinput></screen></para>

View File

@ -17,6 +17,7 @@
<!ENTITY aa-gcc-down SYSTEM "../appendixa/gcc-down.xml">
<!ENTITY gcc-version "3.2.3">
<!ENTITY gcc-specs-version "3.2.3-specs-4">
<!ENTITY gcc-depversion "2.95.3">
<!ENTITY gcc-contversion "3.1">
<!ENTITY gcc-core-size "13,140 KB">