LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-27-2006, 12:34 PM   #1
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Rep: Reputation: 30
whic is better (gcc)


I have gcc 2.96 on my machine I believe and tried to compile mplayer for suse, and it said no because they don't support this version. So ignored it and it didn't work.

Should I use prior versions or after versions? so if I use after versions will the next time I go to compile something will they say no ...to new.

What is dependant on what when i go to revert my version of gcc and how do I go about it?
 
Old 01-27-2006, 12:54 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
As far as I understand it everything is built using gcc so you need to upgrade man!
Slack 10.2 uses v.3.3.6
 
Old 01-27-2006, 05:01 PM   #3
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
Something important to remember is that unlike MS Windows, "upgrade" doesn't necessarily mean the same as "replace". In other words, when you upgrade, you'll simply add the new version of GCC to your system, and the "generic" link will be altered, but unless you explicitly remove it yourself, your old version will remain. That means that if you still need it, you'll be able to use your old version, although you might have to use a different command to access it. It may be "gcc-2.96" instead of simply "gcc", because gcc is simply a link, which will likely point towards your new version, aka, gcc-4.0 (which you could type as well, but gcc is easier for lazy people like myself )

The benefit of this is that you still retain your old version for programs that may need it, yet you can compile newer programs as well. The only practical downside might be the extra space on your hard drive, but in the age of multi-gig drives, the couple megs of space (including docs) that an older version may use isn't worth worrying about. This applies to many parts of the system, including system libraries, which has the benefit of allowing you to run crusty old programs alongside the newest, or experiment with cutting edge software, while retaining the ability to do your work with more stable, reliable programs.

Most certainly update gcc, as the version you're currently using is not only quite old, but also contains a number of major bugs and problems. However, don't delete or remove the older version, as you might need it to (re)compile some of the programs that that version of SuSE included in that version (this tends to be especially important in regard to the kernel and kernel modules/drivers), should you need to do so in the future.

Hope this helps.
 
Old 01-28-2006, 05:18 PM   #4
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Original Poster
Rep: Reputation: 30
thank you scott r that was very helpful.

Any good links to how to install new gcc (compile)
 
Old 01-28-2006, 05:19 PM   #5
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Original Poster
Rep: Reputation: 30
also why is suse 10 still using this? as they seem to be up to date with things like kde 3.4 and openoffice 2.0 and gimp 2.2 but using gcc 2.96?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Whic is the best free p2p available on Linux platform?? pradeepmenon777 Linux - General 3 11-01-2004 12:26 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:37 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