LinHES Forums
http://forum.linhes.org/

Upgrade to gcc-3.4
http://forum.linhes.org/viewtopic.php?f=6&t=12023
Page 1 of 1

Author:  mihanson [ Thu Oct 05, 2006 3:31 pm ]
Post subject:  Upgrade to gcc-3.4

I'm on R5C7 and would like to install a program that requires gcc-3.4 or newer. Will I break my box if I do this? Here's what apt-get tells me will happen:
Code:
root@mythbox:/# apt-get install -s gcc-3.4
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  cpp-3.4 gcc-3.4-base libgcc1
Suggested packages:
  gcc-3.4-doc amd64-libs-dev
The following NEW packages will be installed:
  cpp-3.4 gcc-3.4 gcc-3.4-base
The following packages will be upgraded:
  libgcc1
1 upgraded, 3 newly installed, 0 to remove and 353 not upgraded.
Inst libgcc1 [1:3.4.3-12] (1:3.4.3-13 Debian:3.1r3/stable)
Conf libgcc1 (1:3.4.3-13 Debian:3.1r3/stable)
Inst gcc-3.4-base (3.4.3-13 Debian:3.1r3/stable)
Inst cpp-3.4 (3.4.3-13 Debian:3.1r3/stable)
Inst gcc-3.4 (3.4.3-13 Debian:3.1r3/stable)
Conf gcc-3.4-base (3.4.3-13 Debian:3.1r3/stable)
Conf cpp-3.4 (3.4.3-13 Debian:3.1r3/stable)
Conf gcc-3.4 (3.4.3-13 Debian:3.1r3/stable)

Author:  mac [ Thu Oct 05, 2006 5:09 pm ]
Post subject: 

Looking at the output from "apt-get install -s gcc-3.4 "
I see no red flags.
Quote:
1 upgraded, 3 newly installed


Things you need to look out for with apt-get are "removed" and "upgraded"

It is not removing any and only upgrading one. libgcc1

you can do a "dpkg -l |grep libgcc1" to get an idea of what package is for.

Author:  mihanson [ Thu Oct 05, 2006 6:20 pm ]
Post subject: 

Thanks, mac. Things seemed to go well. In case anyone is looking at this for a similar update, I also had to re-link the gcc references in /usr/bin to point to the right version.

Author:  mihanson [ Sun Oct 08, 2006 6:07 pm ]
Post subject: 

Errr... check that. In case anyone is as green as I am with Linux, upgrading gcc allowed me to compile the program I wanted to add (Ndiswrapper-1.25), but I got a complaint about the kernel being compiled with gcc-3.3. Needless to say it did not work when I tried to modprobe ndiswrapper. I found that Ndiswrapper verson <= 1.15 were made with gcc-3.3 and luckily for me, 1.15 works much better with my hardware.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/