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

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


* "Srinivas Murthy" <codevana at gmail.com> [2008-06-24 11:11]:
>
> Hi,
> 	I need to cross-compile kexec-tools-1.101 for a x86_64 architecture
> platform on a 32b x86.
> 
> 	I didn't see any instructions in the configure, etc. scripts for doing this.

gcc does not support that (like the -m32 flag when you build i386 on
x86-64). You need to build a cross compiler, and then you would pass
that via

      CC=your-cross-compiler ./configure



Bernhard
-- 
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development



More information about the kexec mailing list