Re: Is the kernel compiler gcc by definition?

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 18 Oct 1998 18:24:23 -0400


"Anthony Barbachan" <barbacha@Hinako.AMBusiness.com> said:
> I tried using the CC="gcc-2.7.2.3" option to compile the kernel on a machine
> using gcc 2.8.1 by default. Unfortunately while most of kernel did compile
> with 2.7.2.3 some parts did not [...]

Change the line in the top level Makefile into:

CC =$(CROSS_COMPILE)gcc -V2.7.2.3 -D__KERNEL__ -I$(HPATH)

I'm using that with egcs, and the resulting kernels work fine AFAIKS. The
egcs driver complains endlessly about deprecated stuff in the gcc spec
file, but that's life ;-)

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/