[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.4.20 compilation errors



On Sun, 25 May 2003 23:17:49 +1000
Rob Weir <rweir@ertius.org> wrote:

> Use gcc 3.2 or 2.95.4.  I just edit the root kernel Makefile to use
> 'gcc-2.95' instead of 'gcc', but 'make CC=gcc-2.95 dep bzImage modules'
> should work, too.  I know of no way, aside from editing the Makefile, to
> make make-kpkg use a non-default gcc, though.

Putting "CC:=gcc-2.95" in /etc/kernel-pkg.conf should work as well.

That avoids editing kernel makefiles and will cause gcc-2.95 to be used to
build all kernels.

Kevin



Reply to: