how to cross compile kexec for 64b x86_64 on a 32b x86

Srinivas Murthy codevana at
Tue Jun 24 19:48:56 EDT 2008

./configure \
seems to work. The --build is if we're building on the x86_64.

It seems that I now need the crash utility also to be cross compiled.
I dont see any cross-compile support in the crash-4.0-6.3 pkg.

Any suggestions for how to cross compile the crash-4.0-6.3 for x86_64
on an x86 system.


On Tue, Jun 24, 2008 at 11:50 AM, Bernhard Walle <bwalle at> wrote:
> * "Srinivas Dharmasanam" <the.srinivas at> [2008-06-24 11:46]:
>> Tried that; it fails saying:
>> checking for gcc...
>> /gcc-3.4.5-glibc-2.3.6/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-gcc
>> checking for C compiler default output file name... a.out
>> checking whether the C compiler works... configure: error: cannot run
>> C compiled programs.
>> If you meant to cross compile, use `--host'.
>> See `config.log' for more details.
> Ah, right, try
>  ./configure \
>      --host=x86_64-unknown-linux-gnu
>      --build=x86_64-unknown-linux-gnu
>> I dont see a conftest.c file anywhere.
> Read config.log. It's "inline", the conftest.c gets deleted on very
> check.
> Bernhard
> --
> Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development

More information about the kexec mailing list