Re: Howto set kernel makefile to use particular gcc

From: Alessandro Suardi
Date: Fri Dec 30 2005 - 02:03:53 EST


On 12/30/05, Mukund JB. <mukundjb@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Dear Kernel mailers,
>
> I have specific requirement of building kernel 2.6.11.12 with gcc- 3.3 over the FC4 dist.
> I have downloaded the gcc-3.3.
> As FC4 comes with a default gcc-4.0, how do I set the kernel Makefile to use the gcc-3.3 instead of gcc-4.0.
>
> How do I achieve it? I know it is a very small issue and searched google and I am unable to find it.

Leave the kernel Makefile alone, and say

cd /usr/src/linux
make CC=<path_to_your_gcc_3.3>

--alessandro

"Somehow all you ever need is, never really quite enough, you know"

(Bruce Springsteen - "Reno")
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/