LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-07-2005, 10:21 AM   #1
nasty_daemon
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Rep: Reputation: 15
Is it possible to have two different versions of GCC in the same system ??


In slackware i get a 3.3.6 as stable and then there is a 3.4.x as testing.

Can i have both versions installed (among with java , objc etc..) installed in my system or that could lead to serious implications ??
 
Old 09-07-2005, 10:40 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
yes you can..............you'll need to install it to its own directory like...........
Code:
/opt/gcc-3.4x
and when you compile something with it........
Code:
make CC=/opt/gcc-3.4x/bin/gcc
 
Old 09-07-2005, 10:49 AM   #3
nasty_daemon
LQ Newbie
 
Registered: Sep 2005
Posts: 29

Original Poster
Rep: Reputation: 15
so the deal is to install the compilers to seperate directories

and then in export an ENVIROMENTAL_VARIABLE or change my scripts so that i use the compiler of my choice

tnx for the info
 
  


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
Need Two Versions of gcc on FC4 yellowdognerd Linux - Software 9 09-09-2005 12:46 PM
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
Can you have two different versions of gcc on the same system? the theorist Linux - Software 1 02-23-2004 04:53 PM
changing gcc versions SirRobbin Linux - Newbie 0 08-27-2003 09:54 AM


All times are GMT -5. The time now is 09:27 PM.

Main Menu
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