[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel compile trouble after upgrade



On Sun, 01 Jun 2003 21:54:07 +0200
Joris <jopa@softhome.net> wrote:

> shouldn't there be a 'Debian way' of doing this? if the old gcc-packages
> were still on the server (or if you don't apt-get clean so often :-)), one
> could do
> $ sudo apt-get install gcc=3.2
> $ echo gcc hold | sudo dpkg --set-selections
> 
> but in my case, I had to change the symlink manually because the 'gcc'
> package has only one installation candidate (3.3)
> 
> or am I overlooking something?

The gcc-3.2 packages are still in testing; you can still install them.

I haven't needed to try this yet, but I suspect you could insert a line
"CC=gcc-3.2" in /etc/kernel-pkg.conf to compile your kernels with gcc-3.2
even if your system's default compiler were gcc-3.3.

I don't see why you would need to hold gcc3.2; does it get overwritten by
gcc-3.3? I have gcc-2.95, gcc-3.0, and gcc-3.2 on my system and they don't
step on each other.

Kevin



Reply to: