Help! I need to install gcc-3.x.x on SUSE11

This seems to be a really common problem. I need an older version of GCC to run in parallel with the default GCC running on SUSE11. I have followed all the steps described both in this forum and at the GCC site (GCC Frequently Asked Questions - GNU Project - Free Software Foundation (FSF)).

Namely, I download the gcc-3.4.0.tar.gz and unzip/untar into a gcc3 dir. Then I create a gcc3/objdir and run configure from there:

…/gcc-3.4.0/configure --prefix=/opt/gcc34 --program-suffix=34 --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit

Then I start the build:

make -j2 bootstrap

…AND after some compiling the build exits with errors like

s-traent.ads:61:01: (style) blank lines not allowed at end of file
a-exexda.adb:346:01: (style) multiple blank lines
a-exextr.adb:216:01: (style) multiple blank lines
make[2]: *** [ada/a-except.o] Error 1
make[2]: Leaving directory gcc3/objdir/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory gcc3/objdir/gcc’
make: *** [bootstrap] Error 2

At this point I’m really out of ideas! Please help!

Hi,

there are packages available to install an other gcc version parallel.
Index of /repositories/devel:/tools:/gcc/openSUSE_11.0

hope this helps

Thanks! I’m not sure which package to use!!! How do I know which package does what. For example
gcc33-3.3.3-43.2.i586.rpm
does this install gcc3.3.3 in a separate gcc33 directory??

I was aware that as of SUSE10.2 the following features were added (see factory news):

“support to install multiple gcc versions in parallel”

Are the packages you are referring to the ‘support’ they talk about at Suse??

Thanks for your reply