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

Peter Samuelson
2000-10-30T11:09:04Z

[Rusty]
> > 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>

If you're going to get pedantic, that won't work either -- since the
makefiles in kernels 2.0 and 2.2 expect $(CC) to include some compiler
flags. This was fixed somewhere in 2.3.3x.

Peter