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 06-08-2003, 02:43 AM   #1
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 223

Rep: Reputation: 30
multiple gcc versions and selectability


slack 9.0 has gcc 3.2.2 installed on my setup,but now i need an earlier gcc to compile ibm's omni. can i install another gcc and select for it as compiler on a case by case basis?
 
Old 06-08-2003, 03:38 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
yes.
i can't remember how you are supposed to do it, but
you can compile gcc 2.95.3 or whatever and install
it in /opt or something, or /usr/local/ if you want.
make backups of gcc, g++, and c++ in case the new
compiler over writes them. then make a little script to
do your switch job.
 
  


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 01:46 PM
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 04:07 AM.

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