Installing gcc 3.4.2 and gcc4.2.2 on SUSE11

Howdy,

I need to install gcc 3.4.3 or gcc 4.2.2 on SUSE Linux Enterprise Server 11 (x86_64). There seem to be no official repositories available for the same. The closest alternative I could find was on openSUSE - http://forums.opensuse.org/english/other-forums/development/programming-scripting/420490-using-older-gcc-3-3-4-3-11-2m5.html, yet they are still not the right versions.

I wanted to find out if there was a quick way to achieve this or if anyone has installed from source. A How-to will help a lot. Consider myself a newbie in doing this.

Thanks

Hi
Do you have the SDK repository available for 11? Or is the system
running an SP?

cat /etc/SuSE-release


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.1-desktop
up 15:52, 6 users, load average: 0.02, 0.04, 0.05
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale

Howdy,

This is what I see:

cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2

Hi
Yes, looking on OBS (open build service) there isn’t a 3.4.2 or a 4.2.2
version available, don’t think there was ever a 4.2.x one built. Best
seems to be 3.3.3 from the SLE11-SDK-SP1-Pool repository for SLE 11 SP2.

Why those specific versions?

What you need to do is look at the versions on OBS grab the source,
patch and build…
https://build.opensuse.org/package/show?package=gcc33&project=devel%3Agcc


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.1-desktop
up 3:32, 3 users, load average: 0.08, 0.07, 0.09
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale

Thanks. I need those specific versions for development. A tool that I am using needs binaries compiled only with those specific versions of gcc.
I am a newbie when it comes to building gcc from source - can you point me to some reference, someone who has done something similar. I am afraid I may be stuck mid-way.