[PATCH] Cross compile?

Lombard, David N dnlombar at ichips.intel.com
Mon Jun 9 11:17:02 EDT 2008


On Wed, Jun 04, 2008 at 10:42:06AM +0800, Jeremy Kerr wrote:
> Hi David,
> 
> (sorry about the late reply, been on holidays for the last 3 weeks..)
> 
> > ./configure --build=`uname -m`-linux-uclibc \
> >           --host=`uname -m` --prefix=/home/dnl/kboot-11/root \
> >           CC=uclibc-gcc BUILD_CC=host-gcc
> 
> Ah, there's the problem. You're specifying CC on the configure line, 
> which is overriding it for *everything*. Which is why the 
> CC=$(BUILD_CC) assignment in util/Makefile isn't working for you.

I'm perfectly happy to admit I've horked this...

> I'll see if I can work out a proper fix...
> 
> Also, why are you setting --build to -uclibc?

Some of the above came from kboot; everything else is my own fault :)

kexec is being built on a glibc-based x86 for use on a uclibc-based
x86.

-- 
David N. Lombard, Intel, Irvine, CA
I do not speak for Intel Corporation; all comments are strictly my own.



More information about the kexec mailing list