?
Solved

Installing gcc 2.95 in redhat 9

Posted on 2004-10-19
3
Medium Priority
?
1,095 Views
Last Modified: 2013-12-15
hi every one
 
     i want gcc 2.95 for my source code to work in redhat 9 but redhat with am using contain 3.2 so i can able to compile the old source code it is giving error.

    so pls tell me how to install gcc 2.95 in redhat 9 and
    what is the installation procedure and where gcc 2.95 is avaliable and what other required like glibc ......

thanking you sir,

Srikanth Baratam...
   
0
Comment
Question by:bns_srikanth
[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
3 Comments
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12352664
2.96 is about the earliest you will get without breaking your system = Download compat-gcc here - http://fr.rpmfind.net//linux/RPM/redhat/9/i386/compat-gcc-7.3-2.96.118.i386.html
Compile your source with gcc-2.96 source.c
0
 
LVL 40

Accepted Solution

by:
jlevie earned 375 total points
ID: 12352850
The only place you'll find Gcc 2.95 will be a RedHat SRPM for 7.x. To install it and not break your RH 9 box you'll need to alter the spec file to target the installation to somplace else, like /usr/local or /opt. Then it just a matter of rebuilding the package and installing it with rpm.

Given that 2.95 was a hybrid and never released in the general sense, it makes more sense to me for you to modify your application to make it compatible with the current (3.x) release of Gcc.
0
 

Author Comment

by:bns_srikanth
ID: 12359833
hi jlevie..

   Thanks for send this inforamtion. pls guide me how to install gcc 2.95 and disable the existing gcc3.2 in redhat 9

thanks

srikanth
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

770 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