LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-28-2006, 11:55 AM   #1
acidtone
LQ Newbie
 
Registered: Oct 2005
Location: Michigan
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Easy Way to update GCC?


I am working on moving to Slackware from windows. Right now I am dual booting xp and slackware. However I am having a minor problem Slack didn't dectect my Nic so I downloaded the drivers and went to install them and I get a message about the version of GCC that is on my system is not the same as what the drivers was compiled with. So I need to update the GCC and so far I am at a complete loss on how to even start doing this.

My version of GCC is 3.3.5 the version the drivers was compiled with is 3.3.6 and im running slack 10.2.

Any help with this would be great.
 
Old 07-28-2006, 12:32 PM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
Look for "gcc" in here.

Download what you need, type
Code:
upgradepkg <zee_package>.tgz
and you are done, you shall have gcc 3.3.6 installed and funcional

PS: those packages are in the first slackware 10.2 installation disk, section d/
 
Old 07-28-2006, 12:34 PM   #3
Indkoeti
Member
 
Registered: Oct 2005
Distribution: gentoo
Posts: 50

Rep: Reputation: 15
The problem is not only the version of gcc that is installed, but the version the programs of your system ( mainly your kernel in the case of a driver) was compiled with. So after you havew installed the newer version of gcc ( which should be able with the packagemanagment of slackware) you need to recompile your kernel and change the gcc-version in the /etc/make.conf file
 
Old 07-28-2006, 01:01 PM   #4
acidtone
LQ Newbie
 
Registered: Oct 2005
Location: Michigan
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Ah thanks for the replies. I will try this when I get home from work. I was working on this they other night and lets just say im still quite newbish, I know enough to get in trouble......
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc update linuxhippy Slackware 4 02-13-2006 05:14 PM
Is it easy to update Suse, esp. compared to debian distros ? brjoon1021 SUSE / openSUSE 5 01-05-2006 05:52 AM
EASY! where's gcc...or cc? presidentscroob Linux - Newbie 4 04-14-2004 03:11 AM
gcc (easy question) trpn Linux - General 2 03-12-2003 02:32 PM
gcc update j-ray Linux - Software 11 08-05-2002 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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