Re: [patch] kernel/module.c (plus gratuitous rant)

Rusty Russell
2000-10-29T23:24:37Z

In message <4309.972694843@ocs3.ocs-net> you write:
> On Fri, 27 Oct 2000 19:45:13 +0200,
> Pavel Machek <pavel@suse.cz> wrote:
> >Would it be possible to keep 2.7.2.3? You still need 2.7.2.3 to
> >reliably compile 2.0.X (and maybe even 2.2.all-but-latest?).
>
> You can have multiple versions of gcc installed, just select the one to
> use when you compile the kernel.
>
> CC=gcc-2723 make 2.0 kernel
> CC=gcc-2723 make 2.2 kernel
> CC=egcs make 2.4 kernel

No, environment doesn't override make variables by default. This
works on any shell:

make CC=egcs <targets>

Rusty.
--
Hacking time.