Re: Compiling kernel for AMD CPU with gcc 3.02 How?
On Tue, Nov 26, 2002 at 07:46:34PM -0500, Stephen Gran wrote:
> This one time, at band camp, Colin Watson said:
> > They're deliberately not /etc/alternatives links; they're installed by
> > the gcc packages, and will be set back to the current links when you
> > upgrade. So no, that's probably not such a good idea (unless you fiddle
> > with dpkg-divert).
> > Generally you can set the CC and CXX environment variables to point to
> > the compiler you want.
> Or, if you want, apt-get source gcc. You'll get a directory,
> gcc-defaults-<ver>. Edit debian/rules for your $ARCH (there are plenty
> of examples for various $ARCHs in it). fakeroot debain/rules binary,
> and install the debs. It sets up all the symlinks and whatnot for you.
> Since this is the way Debian does it, it seems the cleanest, and least
> likely to get overwritten.
Only if you bump the version number a bit in debian/changelog and
arrange to have the packages put on hold, of course.
Colin Watson [email@example.com]