On Tue, Jun 24, 2008 at 08:55:08PM +0200, Bernhard Walle wrote: > * Neil Horman <nhorman at redhat.com> [2008-06-24 14:52]: > > On Tue, Jun 24, 2008 at 11:11:36AM -0700, Srinivas Murthy wrote: > > > 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. > > > > > > Can you please let me know how to do this? > > > > > Mostly, you can get away with adding -m32 to the top level CFLAGS in the > > makefile and running setarch i386 in the shell where you run make > > It's the other way round. Not i386 on x86-64, but x86-64 on i386. > ah, my bad. yes, for 64 bit on a 32 bit arch, you'll certainly need a cross-cc. Neil -- /*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. *nhorman at redhat.com *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/