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 02-23-2004, 04: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, 05:53 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
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


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


All times are GMT -5. The time now is 01:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration