LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2008, 11:25 AM   #1
gratney
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
Installing alternate version of gcc from source -- any tips?


Hello,
I have a version of Red Hat Enterprise Linux 4 WS with gcc 3.4.3 on it. A new software tool our developers need to compile requires gcc 4.2.3. I'm moderately experienced with Linux, but have had bad experience in the past trying to "upgrade" compilers. I'd like to do so without hosing things up completely. If anyone has tips on how to do this cleanly from source I'd appreciate the input. I searched before posting but none of the hits seemed to apply to my exact situation. Thanks for any input.

Terry
 
Old 06-10-2008, 01:25 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Welcome!
Have you checked this link; http://www.mjmwired.net/resources/mjm-fedora-gcc.html
That is how it's done on Fedora,but it should do on a RHEL.
 
Old 06-11-2008, 10:18 AM   #3
gratney
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up Thanks

Thanks Alan! This worked successfully. I did see that link after posting to this site, but I think previously my downfall was not passing the correct parameters to the configure script, so the info was very helpful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing an old version of GCC on Etch knobby67 Debian 1 03-29-2007 10:35 AM
installing older version of gcc and and adding path variables jaind Linux - Desktop 3 11-26-2006 06:18 AM
how to install alternate gcc in fc4 korneez Linux - Newbie 3 06-15-2006 08:22 AM
has anybody any experience on installing a second gcc version? perfect_circle Slackware 2 02-16-2006 02:42 AM
installing another version of gcc kulmis Linux - Newbie 3 06-21-2005 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration