nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Installing an older gcc compiler on RHEL 5.3

This is a discussion on Installing an older gcc compiler on RHEL 5.3 within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hello, I have RHEL Box (5.3) which has gcc 4.3.1 compiler installed. However, I have a code base which needs ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-03-2009, 07:39 PM
Junior Member
User
 
Join Date: Aug 2008
OS: Ubuntu (Gutsy Gibbon)
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
crossdelena is on a distinguished road
Default Installing an older gcc compiler on RHEL 5.3

Hello,

I have RHEL Box (5.3) which has gcc 4.3.1 compiler installed. However, I have a code base which needs gcc 3.3.* compiler.

Can someone guide me through the steps to install and make sure the gcc compile picks up the right compiler version?

Thanks,

Cross
Reply With Quote
  #2 (permalink)  
Old 14-03-2009, 11:56 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,707
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Try installing compatibility GNU Compiler Collection:
Code:
yum search gcc | grep 34

compat-gcc-34.x86_64 : Compatibility GNU Compiler Collection
compat-gcc-34-c++.x86_64 : C++ support for compatibility compiler
compat-gcc-34-g77.x86_64 : Fortran 77 support for compatibility compiler

To install:
Code:
yum install compat-gcc-34 compat-gcc-34-c++
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
gcc , redhat , rhel , rhel install gcc 3.4 , yum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Installing the correct version of RHEL 5 Advanced Platform. Zepiroth CentOS / RHEL / Fedora 1 16-03-2009 10:37 PM
installing gcc compiler on puppy Linux aswink1 Linux software 1 08-01-2009 07:29 PM
How to set my own java compiler in linux saras Linux software 2 15-07-2008 04:31 AM
"permission denied" - Installing Lighttpd on RHEL 4 b3n Web servers 3 29-08-2007 07:45 PM
Centos Linux 5 C / C++ compiler installation raj Getting started tutorials 0 12-07-2007 11:57 PM


All times are GMT +5.5. The time now is 10:35 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38