Solved

Installing gcc 2.95 in redhat 9

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS vpc peering connection 1 43
Linux tcp ports listening for testing 4 47
Backup & Restore 3 46
Coding C# in Linux 8 31
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now