[PATCH] Cross compile?

Jamey Sharp jamey at thetovacompany.com
Tue May 27 20:58:11 EDT 2008

On Tue, May 27, 2008 at 7:40 AM, Lombard, David N
<dnlombar at ichips.intel.com> wrote:
> ./configure --build=`uname -m`-linux-uclibc \
>          --host=`uname -m` --prefix=/home/dnl/kboot-11/root \
>          CC=uclibc-gcc BUILD_CC=host-gcc

Isn't this backwards? BUILD_CC ought to match --build, and CC ought to
match --host. If you wanted a kexec binary to put in a uClibc initramfs,
you should set --host for that, not --build. Right?

I've just been looking at `git grep -F -w CC` to decide which configure
flag to use for what, if that helps.


More information about the kexec mailing list