From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Goldberg To: hjl@nynex-ms.nynexst.com (H.J. Lu) Cc: bde@runx.oz.au, rfg@rahul.net, linux-gcc@vger.rutgers.edu, gas2@cygnus.com Subject: Re: Cross-compiling the kernel (Was: binx86 0.2) Date: Mon, 21 Nov 1994 20:41:00 -0000 Message-id: <199411220430.XAA21657@calum.csclub.uwaterloo.ca> References: <9411220408.AA14356@titanic.nynexst.com> X-SW-Source: 1994/msg00201.html > Gals, Guys, I'd like to hear the cross-compile kernel stories. I > tried it under SunOS 4.1.3. But the kernel code has a few endian > dependent code in ./zBoot. We fixed those endian problems in zBoot and tools/build. We now have a working cross-compile for the Linux kernel that should work on any big- or little-endian machine with the appropriate tools (a cross- compiler/assembler, etc). The patches to the Makefiles and the zBoot and tools stuff have been sent to Linus. The 1.1.64 kernel I'm using right now was compiled on a Solaris 2.3 machine. ---------.. ._ _.------------ Ian Goldberg University of Waterloo PM+CS iagoldberg@csclub.uwaterloo.ca foo(a) { return (a?foo(a&a-1)+1:0); }