Re: Howto set kernel makefile to use particular gcc

Alessandro Suardi
2005-12-30T06:58:49Z

On 12/30/05, Mukund JB. <mukundjb@esntechnologies.co.in> 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")