LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-23-2004, 03:21 PM   #1
the theorist
Member
 
Registered: Apr 2002
Distribution: Fedora Core 5 & 6
Posts: 47

Rep: Reputation: 15
Can you have two different versions of gcc on the same system?


Can I put two different versions of gcc, specifically, 3.3 and 2.96 on the same system?
All of the standard libraries and headers should be kept separate.

I'll be doing this under Fedora core 1, which already has 3.3.2 installed. I would like the older one on there to do some testing. Bonus points if I can do it with rpms.

Any ideas?
 
Old 02-23-2004, 04:53 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
With RPMs, you usually can't. But it will work when you compile older gcc from source. Just download source of the right version and compile (but make sure it goes to /usr/local or a smilar directory).
 
  


Reply



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
Is it possible to have two different versions of GCC in the same system ?? nasty_daemon Linux - Software 2 09-07-2005 10:49 AM
switching between gcc versions DrAMac Debian 2 08-30-2005 05:21 PM
Two gcc Versions On The Same Installation? Xian Debian 4 08-16-2005 02:07 AM
multiple versions of gcc Avatar33 Linux - General 3 02-22-2005 02:06 PM
changing gcc versions SirRobbin Linux - Newbie 0 08-27-2003 09:54 AM

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

All times are GMT -5. The time now is 06:13 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