LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-01-2005, 11:11 AM   #1
vijaysh
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
what happen if gcc is downgraded


I need the gcc -2.96 instead of gcc-2.3.. because of my requirement.if i downgrade the gcc did it effect on my sytem working. If yes Please help me how i was able to install both package.
thank you
 
Old 01-01-2005, 12:00 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Why do you require the earlier version of gcc? You could install both versions, but it may be better to find a way to use the newer version.
 
Old 01-01-2005, 12:30 PM   #3
vijaysh
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Original Poster
Rep: Reputation: 15
how it can be?

Quote:
Originally posted by wapcaplet
Why do you require the earlier version of gcc? You could install both versions, but it may be better to find a way to use the newer version.
I need to install gcc for requirement which is supported by only this version of gcc.I have latest version when i try on new version it shows error So please help me how i will be able to install this version.
 
Old 01-01-2005, 04:11 PM   #4
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Re: how it can be?

Quote:
Originally posted by vijaysh
I need to install gcc for requirement which is supported by only this version of gcc.I have latest version when i try on new version it shows error So please help me how i will be able to install this version.
What software are you trying to compile that requires the earlier version? What error message do you get?

It's not uncommon for some software to require compilation by the same version used to compile the kernel. If this is the error you are having, it's probably best to recompile your kernel using the newer version.
 
Old 01-01-2005, 04:20 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
If you do downgrade, I would use 2.95.3 - 2.96 is an experimental gcc that was buggy to say the least.
It has a history of miscompiling. You could also get 2.95.3 and compile it and install it to something like
/opt/gcc-2.95.3. this way, if you want to use gcc-2.95 just change your path to find that one first like:

export PATH=/opt/gcc-2.95.3/bin:$PATH

If you do use this way, when you install it don't forget to make a symlink for cc:

ln -s /opt/gcc-2.95.3/bin/gcc /opt/gcc-2.95.3/bin/cc

NOTE: If you downgrade gcc from say an 3.x to a 2.x you will probably break things on your system c++ related (mozilla/firefox, kde, etc...) hence the reasong for installing an earlier version in /opt and leaving the original gcc alone.

Last edited by __J; 01-01-2005 at 04:22 PM.
 
  


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
Why does this always happen Canam97 Mandriva 1 03-17-2005 04:42 PM
what happen on downgrading gcc vijaysh Debian 1 01-01-2005 01:12 PM
What would happen if... d1s4st3r General 4 06-27-2004 07:12 AM
suddenly having ftp login problems since i downgraded libsafe so i could add sites Amaris4GOW Linux - General 2 04-09-2004 01:07 PM
why would this happen? Z28kid Linux - Newbie 7 02-17-2003 07:55 PM


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