3 different versions of gcc and cpp with every new kernel.
dark-D
Status: Contributor
Joined: 27 May 2010
Posts: 68
Location: shadows
Reply Quote
on every kernel update it installs gcc and cpp 4.3 and 4.4, also there is gcc and cpp version 4.5 installed by sid. is it really needed to have so many compilers and preprocessors installed with every kernel? i have observed that if i purge the 4.3 and 4.4 version it doesn't remove anything else. also i have the suggested and recommended packages set to off in apt.conf
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1135
Reply Quote
Well, this is what apt-cache show lists for the linux headers of 2.6.37-4.dmz.1

:: Code ::
Package: linux-headers-2.6.37-4.dmz.1-liquorix-amd64
Source: linux-liquorix-2.6
Version: 2.6.37-15
Architecture: amd64
Maintainer: Steven Barrett <damentz@liquorix.net>
Installed-Size: 43920
Pre-Depends: dpkg (>= 1.14.21)
Depends: libc6 (>= 2.7), gcc-4.4


I can make the kernel depend on gcc-4.5 (which I was actually planning on doing on my next build). But thanks for bringing it up.
Back to top
dark-D
Status: Contributor
Joined: 27 May 2010
Posts: 68
Location: shadows
Reply Quote
just installed the latest kernel it brings up gcc 4.5 as a dependency. the one that installs all the other versions is smxi:

:: Code ::
OK, now the script will install kernel 2.6.38-1.dmz.1-liquorix-686 for you.
------------------------------------------------------------------
Updating firmware-linux/gcc/libc6/initramfs-tools/locales/tzdata packages to make sure
your system will work right with your new kernel...

  Forcing install of firmware-linux gcc-4.3 gcc-4.4 initramfs-tools libc6 libc6-dev locales tzdata util-linux to update your system...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libc6 is already the newest version.
locales is already the newest version.
initramfs-tools is already the newest version.
tzdata is already the newest version.
util-linux is already the newest version.
firmware-linux is already the newest version.
Suggested packages:
  gcc-4.3-locales gcc-4.4-locales gcc-4.3-multilib libmudflap0-4.3-dev
  gcc-4.3-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg gcc-4.4-multilib
  libmudflap0-4.4-dev gcc-4.4-doc libppl-c2 libppl7 glibc-doc
Recommended packages:
  manpages-dev gcc c-compiler
The following NEW packages will be installed:
  cpp-4.3 cpp-4.4 gcc-4.3 gcc-4.3-base gcc-4.4 gcc-4.4-base libc-dev-bin
  libc6-dev linux-libc-dev
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.

so i guess i better delete the versions that i don't need. also i remove the headers because i rarely compile something on this machine. it is good that it depends on gcc 4.5, but i saw in another post that someone complained about not being able to install gcc 4.5 in stable. a vicious circle here. guess i'll use apt-get to install new versions of kernels. thanks for the help.
Back to top
monkiki
Status: Curious
Joined: 24 Mar 2011
Posts: 5
Reply Quote
How can I install gcc-4.5 in Debian Squeeze? I see this package is in Wheezy but I don't want to switch to testing all my distro packages.
Back to top
dark-D
Status: Contributor
Joined: 27 May 2010
Posts: 68
Location: shadows
Reply Quote
enable the wheezy repo in /etc/apt/sources.list
:: Code ::
deb http://ftp.de.debian.org/debian/ testing main contrib non-free

then
:: Code ::
apt-get update

and
:: Code ::
apt-get install gcc-4.5/testing

after this, disable the repo for testing.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours