Phil Edwards writes: > > > All the <foo>-3.0 packages don't depend, recommend or even suggest the > > <foo> packages making it possible (especially on hppa where -3.0 is > > the default compiler) to install just gcc-3.0 and not have a gcc > > symlink which is probably not a good thing? > > The 'gcc' package is hardcoded to gcc-2.95 right now. You can have all > three packages installed, and the symlink doesn't change: > > % ls -lF gcc* > lrwxrwxrwx 1 root root 8 Nov 9 13:17 gcc -> gcc-2.95* > -rwxr-xr-x 1 root root 71324 Oct 6 20:21 gcc-2.95* > -rwxr-xr-x 1 root root 73900 Nov 4 12:29 gcc-3.0* > -rwxr-xr-x 1 root root 15656 Nov 4 08:59 gccbug-3.0* > % > > Perhaps gcc-3.0's postinst can do something like "if package 'gcc' is > installed, then update the symlink"? I'm guessing out my butt here.
we removed the gcc alternatives a year ago, which actually did this. Please see http://bugs.debian.org/115353 for reasons to remove the alternatives from gcc.