RE: Howto set kernel makefile to use particular gcc

From: Mukund JB.
Date: Fri Dec 30 2005 - 02:29:46 EST



Thanks for that.
I will test it

thanks,
Mukund Jampala

> -----Original Message-----
> From: Chris White [mailto:chriswhite@xxxxxxxxxx]
> Sent: Friday, December 30, 2005 12:54 PM
> To: Mukund JB.
> Cc: Alessandro Suardi; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: Howto set kernel makefile to use particular gcc
>
>
> On Friday 30 December 2005 16:04, Mukund JB. 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?
>
> Not Alessandro but,
>
> CC sets the CC makefile variable. When the kernel build
> system goes to
> compile something, it doesn't call on gcc directly, but
> rather what the
> variable CC is set to. By setting it to your gcc 3.3
> compiler, it will use
> that instead.
>
> > 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>
>
> make CC=<gcc path> bzImage
>
> note the case sensitivity, which tends to be somewhat of a
> pain for new *nix
> users.
>
> > Best Regards,
> > Mukund Jampala
>
> Chris White
>
-
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/