RE: Howto set kernel makefile to use particular gcc

From: Mukund JB.
Date: Fri Dec 30 2005 - 02:08:39 EST



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@xxxxxxxxx]
> Sent: Friday, December 30, 2005 12:29 PM
> To: Mukund JB.
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: Howto set kernel makefile to use particular gcc
>
>
> 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/