• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Downgrading gcc to older versions?

scootermaster

Platinum Member
So, I'm knee deep in the Open64 compiler architecture for my work. I have a FC5 install that I use at work, but I was hoping to install it on my home computer (which is a hackintosh). I briefly tried to do it natively, but quickly gave up and figured I'd install Linux on a VMware client.

So I did, first via livedisc and then via the install DVD. All good. I installed the RPM for open64 and it's all hunky dorey except the open64 C++ absolutely chokes on anything C++. I get all sorts of errors that come from #include <iostream> on a toy program. g++ of course works just fine.

So I figured it might be an incompatibility with the gcc install. I tried to remove, via package manager, gcc figuring I'd reinstall another 4.1 version. Well, doing so choked the install, and when I rebooted the VM it wouldn't boot. So that install is borked and I gotta try again.

So the question is:

1). Anyone have any experience with this? Open64 uses an older gcc-based front end, but it's obviously choking on something involving the standard C++ includes (C works fine). Any idea how to fix that?

2). How to I install an older version of gcc? Is there a simple way to do this? Is there a nice repository of RPMs for gcc? I've found a couple, but god knows if they work.

If this works, you'll be helping the economy! I've been planning on upgrading my old G4 Powerbook to a new Macbook Pro, but it only makes sense if I can do my work on it, which means either bootcamp (does that even support linux?) or a VMware install with Linux on it...but for that, I need open64 to work.

Help!?

(Thanks!)
 
You should be able to compile a different gcc from source without clobbering your current install. Might be a bit tricky, but should be do-able. You'd probably have to recompile open64 or whatever to use it though.
 
Back
Top