[PLUG] Kernel compilation (2.6)
Andrew Munkres
amunk at pdx.edu
Tue Sep 28 19:55:03 PDT 2004
On Tue, 28 Sep 2004, Robert Kopp wrote:
> If gcc-2.95.3 can be invoked without system-wide
> installation, I'm content to leave it where it is.
> Anyhow, what is the best way to make it the active
> version of gcc when compiling the kernel?
I haven't tried this, but the top-level Makefile includes this:
# Make variables (CC, etc...)
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
CC = $(CROSS_COMPILE)gcc
CPP = $(CC) -E
I suspect that editing it to define CC to something else would be one way
to use a different compiler.
BTW, kernels compiled with gcc 3.x seem to work ok for me.
More information about the PLUG
mailing list