RE: Howto set kernel makefile to use particular gcc

Mukund JB.
2005-12-30T07:09:49Z

Dear Alessandro,

Thanks for the reply.
What does that the make CC=<path_to_your_gcc_3.3> do?
Will it set my gcc default build configuration to gcc 3.3?

I mean the general procedure is make bzImage; make modules....
How do I do these:

Will I have to do it like:
make bzImage cc=<gcc path>

Best Regards,
Mukund Jampala

> -----Original Message-----
> From: Alessandro Suardi [mailto:alessandro.suardi@gmail.com]
> Sent: Friday, December 30, 2005 12:29 PM
> To: Mukund JB.
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: Howto set kernel makefile to use particular gcc
>
>
> 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")
>