LinuxQuestions.org
Review your favorite Linux distribution.
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 06-08-2003, 01:43 AM   #1
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

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, 02:38 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

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



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
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 04:30 AM.

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