Re: update-alternatives and gcc
-----BEGIN PGP SIGNED MESSAGE-----
Colin Watson sent the following message Today:
CW> On Mon, Jun 02, 2003 at 11:09:12AM -0400, Chris Caldwell wrote:
CW> > This has only become an issue with the recent gcc-3.3 packages (i.e.
CW> > kernel build fails), but I'm concerned that the gcc packaging doesn't
CW> > appear to follow the /etc/alternatives standard. Currently (on an
CW> > up-to-date Sid system), /etc/alternatives/cc is a reference to
CW> > /usr/bin/gcc which is symlinked to /usr/bin/gcc-3.3. Would it not make
CW> > more sense to make the gcc versions directly visible to
CW> > update-alternatives and dispense with the symlink?
CW> See bug #115353 and the seven other wontfix bugs merged with it.
CW> > I can work around this using makeflags or changing the symlink, but
CW> > this setup just doesn't seem to be the "Debian Way".
CW> If you believe in such a thing as the Debian Way, then dpkg-divert
CW> surely falls into it. :)
I can understand the reasoning - not sure I agree with it. One
wonders how much testing of the new gcc releases are done before
they become the default compiler installed by apt. In particular,
I have been completely unable to build a 2.4.20 kernel with
gcc-3.3 and it's not the add-ons that are failing - it is core
kernel modules (aic7xxx, old-aic7xxx, core net, and more) -
neither make-kpkg or a vanilla make get past resolving
dependencies. I haven't used dpkg-divert in the past, but it
seems that after the very carefull and prolonged move from
gcc-2.95 to gcc-3.2 someone decided to throw caution to the wind
and just package the very latest as default.
Anyone know what the pre-packaged kernel-images are compiled
with? I haven't used one beyond a base install in years.
Information Systems Coordinator, Enterprise Systems
Information Systems and Services, The George Washington University
caldwell @ gwu . edu | +1 202.994.4674 (w) | +1 202.409.0878 (c)
http://asclepius.tops.gwu.edu | GPG key ID: 0xE52D0BE8
"Formal education can rarely improve the character of a scoundrel."
- Derek Bok, Harvard University
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----