RE: Howto set kernel makefile to use particular gcc

Mukund JB.
2006-01-02T06:05:52Z

Jasper,

But I was doing it all that I was doing with 2.4 i.e. the follwoing steps to build the kernel.
I also found these steps are followed in the 2.6.x kernel build howto's too.

Do you mean, to rebuild the 2.6.x kernel,

make CC=<path of gcc> would be enough?

I am just thinking whether I am doing something redundent.

Regards,
Mukund Jampala

> -----Original Message-----
> From: Jesper Juhl [mailto:jesper.juhl@gmail.com]
> Sent: Friday, December 30, 2005 1:55 PM
> To: Mukund JB.
> Cc: Alessandro Suardi; 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 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....
>
> That was the common way with 2.4.x kernels. Sure, you can still do
> that, but with 2.6.x the recommended thing is to just do "make" (or in
> your case "make CC=</path/to/gcc-3.3>") which will both build the
> kernel and the modules.
>
>
> --
> Jesper Juhl <jesper.juhl@gmail.com>
> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
> Plain text mails only, please http://www.expita.com/nomime.html
>