RE: Howto set kernel makefile to use particular gcc
From: Mukund JB.
Date: Mon Jan 02 2006 - 02:28:57 EST
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@xxxxxxxxx]
> Sent: Friday, December 30, 2005 1:55 PM
> To: Mukund JB.
> Cc: Alessandro Suardi; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: Howto set kernel makefile to use particular gcc
>
>
> On 12/30/05, Mukund JB. <mukundjb@xxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxx>
> 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
>
-
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/