Notices

Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Gcc question . . .

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 04-10-03, 06:56 PM Thread Starter   #1
snowmobile74
Member

 
snowmobile74's Avatar 

Join Date: Oct 2001
Location: Iowa

 
Gcc question . . .


can someone direct me where I found out how to install 2 versions of gcc and how I take advantage of them.

ex gcc 2.95 default
and gcc 3.22 secondary

Last edited by snowmobile74; 04-10-03 at 07:11 PM.
snowmobile74 is offline   QUOTE Thanks
Old 04-10-03, 07:43 PM   #2
Titan386
Senior Member

 
Titan386's Avatar 

Join Date: Jun 2002

 
Does this answer your question:
http://gcc.gnu.org/fom_serv/cache/14.html

If not, maybe I'm unclear on what your trying to do.
Titan386 is offline   QUOTE Thanks
Old 04-11-03, 04:43 AM   #3
XWRed1
Senior Member

 
XWRed1's Avatar 

Join Date: Oct 2001

 
What are you writing that necessitates two gcc versions? Must be pretty hardcore.
XWRed1 is offline   QUOTE Thanks
Old 04-11-03, 09:55 AM   #4
moorcito
Member

 
moorcito's Avatar 

Join Date: Sep 2002
Location: Chicago, IL

 
Maybe he's going to compile something that won't work with the newer version of gcc?
moorcito is offline   QUOTE Thanks
Old 04-11-03, 11:56 AM Thread Starter   #5
snowmobile74
Member

 
snowmobile74's Avatar 

Join Date: Oct 2001
Location: Iowa

 
I was told by my freind (a comp sci major) that he seems to think that some programs are not tested with all versions of gcc wich seems logical enough. He recomended that if I update gcc that I make 2 installs. because slackware is supposed to be good about getting the right gcc version that is supposed to work with just about all programs. well I just finished a messy update to slackware 9 (it was a learning experience ) and looks like it comes with gcc 3.22 so im kinda doubting its really necessary to have 2.95 (8.1 standard gcc) around but idk. can anyone shed some light on this issue?
snowmobile74 is offline   QUOTE Thanks
Old 04-11-03, 12:08 PM   #6
moorcito
Member

 
moorcito's Avatar 

Join Date: Sep 2002
Location: Chicago, IL

 
For some reason, I could have swore that Slackware 9 came with both versions, but I just checked my laptop and was wrong. I've been using 9 for a week or two now, and have compiled most of it by hand, and so far I haven't had any problems. I am willing to bet that unless you are trying to compile a really old program, most everything should work just fine, and since you updated to Slackware 9, everything that that you installed was compiled with 3.22, so anything new that you compile will interact with out any problems.

So, all in all you should be ok.
moorcito is offline   QUOTE Thanks
Old 04-11-03, 01:06 PM   #7
XWRed1
Senior Member

 
XWRed1's Avatar 

Join Date: Oct 2001

 
2.95 is older and more compatible, but most everything works fine on 3.x. Everything on my system is built with gcc 3.x.

I think you'll be fine with just one version.
XWRed1 is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Programming Tips and Tricks
Programming Tips and Tricks
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 03:41 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?