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

Bernhard Walle bwalle at suse.de
Tue Jun 24 14:50:59 EDT 2008


* "Srinivas Dharmasanam" <the.srinivas at gmail.com> [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