[PATCH] Cross compile?
Simon Horman
horms at verge.net.au
Wed Oct 8 18:38:09 EDT 2008
On Mon, Jun 09, 2008 at 08:17:02AM -0700, Lombard, David N wrote:
> 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.
I know that this is a bit of a blast from the past,
but I believe that this has been fixed by Jeremy.
--
Simon Horman
VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en
More information about the kexec
mailing list