[PATCH] Cross compile?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux