aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-2953-inst.xml
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2003-09-10 00:17:44 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2003-09-10 00:17:44 +0000
commit56029fbfe45458edd08c306b754a4fb1bb9a8468 (patch)
treed1e65677c76feb55adeea9070b7a29f89864e996 /chapter06/gcc-2953-inst.xml
parent645ddbabb6a21dadefca4f3d83e93b7cdae6daeb (diff)
Removed installation of gcc 2.95.3 c++ compiler, added Zack's patch to fix the return-type problem
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2759 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gcc-2953-inst.xml')
-rw-r--r--chapter06/gcc-2953-inst.xml9
1 files changed, 2 insertions, 7 deletions
diff --git a/chapter06/gcc-2953-inst.xml b/chapter06/gcc-2953-inst.xml
index 9d4bd5d17..33493b269 100644
--- a/chapter06/gcc-2953-inst.xml
+++ b/chapter06/gcc-2953-inst.xml
@@ -10,20 +10,15 @@ default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
or modifying them when building GCC.</para>
<para><screen><userinput>patch -Np1 -i ../gcc-2.95.3-2.patch
+patch -Np1 -i ../gcc-2.95.3-returntype-fix.patch
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 \
&nbsp;&nbsp;&nbsp;&nbsp;--enable-threads=posix
make bootstrap
make install</userinput></screen></para>
-<para>Add the compiler's library directory to <filename>ld.so.conf</filename>,
-so these libraries can be found at run time:</para>
-
-<para><screen><userinput>echo "/opt/gcc-2.95.3/lib" >> /etc/ld.so.conf
-ldconfig</userinput></screen></para>
-
</sect2>