Solved

Installing gcc 2.95 in redhat 9

Posted on 2004-10-19
3
1,084 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 125 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

Industry Leaders: 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!

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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