[PATCH] Cross compile?

Jeremy Kerr jk at ozlabs.org
Tue Jun 3 22:42:06 EDT 2008

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'll see if I can work out a proper fix...

Also, why are you setting --build to -uclibc?



More information about the kexec mailing list