[PLUG] Kernel compilation (2.6)

Andrew Munkres amunk at pdx.edu
Tue Sep 28 21:46:01 PDT 2004

On Tue, 28 Sep 2004, AthlonRob wrote:

> I don't really know how well these things will work, but if you know
> what your c compiler's command is to be, use it like this:
> make bzImage CC='/path/to/gcc -V whatever'
> ...I'm pretty sure the ' use is appropriate, but test it out.  :-)

I think that the variable assignment needs to be first, e.g.:

[amunk at sencha ph317]$ CC='blah' sh -c 'echo $CC'
[amunk at sencha ph317]$ sh -c 'echo $CC' CC='blah'

[amunk at sencha ph317]$

More information about the PLUG mailing list