Solved

Where to get GCC 2.96 (2.9.6) source code?

Posted on 2004-09-23
6
864 Views
Last Modified: 2007-12-19
Hello,

I have to work on a large C/C++ project built using GCC 2.96.  This compiler is necessary because it is not feasible at this time to upgrade the code to work on newer compilers.  Yes, it really is that bad.  Where can I get the source code for GCC 2.96?  I don't want the Redhat 7.x RPM.

Points go to whoever provides a working link to the source code first.  Thanks!
0
Comment
Question by:helpmealot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 11

Expert Comment

by:avizit
ID: 12135174
http://gcc.gnu.org/gcc-2.96.html  
http://www.mplayerhq.hu/DOCS/HTML/en/gcc-296.html
2.96 is not official GNU  ..

gcc-2.96 was released by RE Hat and hence i guess you will end up with redhat versions only
0
 
LVL 11

Expert Comment

by:avizit
ID: 12135201
Does it compile with gcc-2.95 ? have you tried that ?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 12135253
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:helpmealot
ID: 12138613
Thanks for your quick responses.

avizit - Your links don't seem to provide a place to download this (odd) version of GCC.  I am aware that this compiler has a host of problems, but there is nothing I can do about it at the moment :)  Unfortunately, the software does not compile under 2.95 or any 3.x version either.  If it were merely a matter of fixing one or two glitches, this would not be an issue, but this software is over 100k lines and produces literally thousands of errors upon recompiling with a different version of the compiler.  Clearly, the fact that it doesn't compile on other compilers indicates that quite a bit of code is either ambiguous, improperly written, or non-standard C++.  Again, there is nothing I can do about it at the moment :)

jlevie - This seems to be an RPM which needs to be installed.  Unfortunately, the server on which I need to install this compiler precludes access to the /usr/src directory.  The system admin attempted to install it himself, but reported that this version of GCC won't install on this OS (Fedora Core 2).  Here is the output I get:

~/gcc> rpm -i ./gcc-2.96-113.src.rpm
warning: ./gcc-2.96-113.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot write to %sourcedir /usr/src/redhat/SOURCES

Thus, what I really need to do is install it somewhere else, i.e. my home directory.  Unforuntately this too seems to fail:

~/gcc> rpm -i --prefix /homes/gws/mr/gcc ./gcc-2.96-113.src.rpm
warning: ./gcc-2.96-113.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot write to %sourcedir /usr/src/redhat/SOURCES

What I had intended to do was simply get the source code for GCC 2.96, and specify the "prefix" magic word when running "configure".  Is the source only available in this rpm format?  What would you suggest I do?

Thanks again.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12139175
As was mentioned in avizit's comment Gcc 2.9.6 is a RedHat special. so the RedHat SRPM is the only way to get it.

There are two choices for installing this on a Fedora system:

1) As root do:

mkdir -p /usr/src/redhatSOURCES
rpm -i ./gcc-2.96-113.src.rpm

2) As a user in your home directory do:

mkdir -p buildroot/usr/src/redhatSOURCES
rpm --root /home/username/buildroot/usr/src/redhatSOURCES -i ./gcc-2.96-113.src.rpm

Now whether that version of Gcc will build or work is a different question. And whether you'll need the old libraries for a Gcc 2.96 is also open to question.

My guess, offhand, is that your problem in compiling this are related to templates more than the complier per se.
0
 

Author Comment

by:helpmealot
ID: 12145239
Thanks again, that's exactly what I needed.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question