• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Gcc question . . .

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

snowmobile74

Member
Joined
Oct 25, 2001
Location
Iowa
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:
What are you writing that necessitates two gcc versions? Must be pretty hardcore.
 
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?
 
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.
 
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.
 
Back