LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 03-30-2003, 02:13 PM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
gcc downgrade: help required


Hi,
Can some one tell me how to downgrade my gcc.
I have RH8 with gcc 3.2, I think and I need to get a 2.x version ,so I've been told.

If someoen could give me a basic guide about how to downgrade andwhere to get the files,I'd be most grateful.

thanks
 
Old 03-30-2003, 02:30 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
you don't downgrade, you would just install one ASWELL. they can cohabit just fine. You really shouldn't need an old version though. why do you believe this?
 
Old 03-30-2003, 02:36 PM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
I'm trying to install a conexant ADSL modem (and have been trying for the past 3 weeks,with increasing frustration). I've eventually found a guide that seems quite straightforward:
CONEXANT ADSL MODEM INSTALL

If you look at the 'kernel and gcc' section, you'll see that they ask you to downgrade your gcc (I don't even know whaqt gcc is).I have version 3.2 which is too high.

So,how do I go about installing another one or downgrading? Is it a big job and is there a guide for newbies?

Cheers
Lud
 
Old 03-30-2003, 02:41 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
fair enough then./ gcc is a (the) c ompiler for linux and other gnu systems. you can just install the rpms from rpmfind.net or probably from your distro cd's just like any other RPM. a 2.x version of gcc can happily cohabit a system with a 3.x version in most situations. Search this site, or redhat docs or any other help site for RPM guides if you do not already know how to deal with them.
 
Old 03-30-2003, 02:42 PM   #5
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks chris.
Is it a big job to install?
 
Old 03-30-2003, 02:44 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
no
 
Old 03-30-2003, 02:45 PM   #7
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thx
 
Old 03-30-2003, 04:49 PM   #8
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
Well,I've been having problems trying to install an older version of gcc.

I chose gcc 2.96 .rpm but when i went to install it it said that it had failed dependencies ,namely cpp 2.96.
So,I got cpp 2.96.rpm but it wouldn't let me install it cos it said my current version was newer.
What can I do?
 
Old 03-30-2003, 04:53 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Something like force the install, into another directory? Try searching a bit more, and try man rpm or man urpmi
 
Old 03-30-2003, 05:01 PM   #10
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Proud
Something like force the install, into another directory? Try searching a bit more, and try man rpm or man urpmi
Sorry,but you've lost me there.
I'm new to all this and 'man rpm' means nothing to me.
Why is everything in Linux so ridiculously difficult?

I have spent 3 solid weeks trying to get my damn modem to work with Linux.
It is just absurd !!!
First I have to learn how to compile kernels etc then I have to learn how to enable ATM (whatever that is) into the kernel (which took me a whole week to learn) and then I found out that I need to downgrade the version of gcc (whatever that is) which is another monumental task with little or no info for newbies on the web.
I wouldn't mind all this work,just to get this modem to work,it's just that there is no info out there for newbies.It's all written for programmers or people who have a lot of expereience of UNIX /Linux.
I've just had a look at what's required of this gcc downgrade and it's mind boggling. I mean ,where's it gonna end? I'll spend another 2 weeks trying to do that and I'll find out there's some thing more I need to do.It's just becoming farcical.
And all this just to get a modem to work.It's not like it's an obsure modem either.It's sold by the bucket load in DABS and Ebyer.

Sorry for the rant,but I'm so fed up with there being no simple instructions out there..
 
Old 03-30-2003, 05:35 PM   #11
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
I chose gcc 2.96 .rpm ,went to install it it said that it had failed dependencies ,namely cpp 2.96.
So,I got cpp 2.96.rpm but it wouldn't let me install it cos it said my current version was newer (3.27).
Then went to try the rpm - Uhv <filename>.rpm --oldpackage with the gcc2.96.rpm and it said that it needed cpp 2.96 again.
Tried to install cpp2.96 and it said it needed cpp 3.27 ,which is already installed!!!

Someone said earlier that this was a simple operation.
It's getting to be a ridiculous.
Does anyone know how to install an older version of gcc?
 
Old 03-30-2003, 05:52 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Ludwig, if you have the feeling this
is overwhelmingly difficult I suggest
you try to find a local "Linux user group"
and ask those guys for support on site.

I'm sure you'll be lucky, I've done that
kind of support back in the days of TeamOS/2,
and know that for instance in my area there's
a Linux user group that's quite active.

As a basic rule of thumb, however, I have to
add that choosing hardware first, and then
try to get a non-mainstream OS to work with
it may become a rather tedious task at times.

As for the gcc (it stands for gnu compiler collection,
btw) .. I personally don't use RPM's, but as far as
I know you can use --nodeps and --force on the
command line to get a install, even if it's nagging
you.

I wish you the best of luck!

Cheers,
Tink
 
Old 03-31-2003, 02:09 AM   #13
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks Tinkster
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DOWNgrade gcc. How? KDel Linux - Software 25 10-29-2009 01:53 AM
Downgrade Kernel? apachedude Suse/Novell 1 10-22-2005 05:25 AM
downgrade of GCC version nelnel Linux - Software 7 06-29-2005 01:10 AM
how to downgrade from 9.2 to 9.1 netsurf Suse/Novell 10 04-10-2005 12:44 PM
any recomendations to downgrade GCC 2.96 to 2.95? Hano Linux - Distributions 2 06-09-2002 02:11 PM


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