Author Topic: [SOLVED] install gcc-3.3.6 in addition to 4.5.2  (Read 370 times)

Offline gilado

  • Hero Member
  • *****
  • Posts: 524
[SOLVED] install gcc-3.3.6 in addition to 4.5.2
« on: June 11, 2012, 09:22:05 AM »
On my older machine I have both gcc-4 and gcc-3 installed side by side.

On this new machine I only find gcc-4 and cannot find gcc-3 in synaptic ?
« Last Edit: June 14, 2012, 07:00:42 PM by gilado »

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10648
  • MLUs Forever!
Re: install gcc-3.x.x in addition to 4.5.2
« Reply #1 on: June 12, 2012, 10:29:50 AM »
Is there some reason you want it?

Other than noting its absence, I am unsure what you are asking .....
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline gilado

  • Hero Member
  • *****
  • Posts: 524
Re: install gcc-3.x.x in addition to 4.5.2
« Reply #2 on: June 12, 2012, 11:25:30 AM »
I have code that won't compile under gcc-4. That's a common problem.

We used to have both n the repos.

I'm asking

1. Is there another repo I could get gcc-3  from?

2. Does any one know of rpms that will install and live side by side with gcc-4 ?

3. Does anyone have experience with building gcc-3 from source and installing it?





Offline gilado

  • Hero Member
  • *****
  • Posts: 524
Re: install gcc-3.x.x in addition to 4.5.2
« Reply #3 on: June 14, 2012, 07:00:02 PM »
Solution:

- Install libstdc++5 and libstdc++5-devel (in synaptic)

- Google for
    gcc3.3-3.3.6-1pclos2007.i586.rpm
    gcc3.3-cpp-3.3.6-1pclos2007.i586.rpm
    gcc3.3-c++-3.3.6-1pclos2007.i586.rpm
I found them on rpm.pbone.net and downloaded from ftp.pbone.net

- Install the rpms

Now I can use gcc-3.3.6 and g++-3.3.6