From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aron Griffis Subject: cross-compilation howto Date: Tue, 29 Jan 2008 18:20:58 -0500 Message-ID: <20080129232058.GF3836@fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I've written a cross-compilation howto and posted it to http://wiki.xensource.com/xenwiki/CrossCompiling It's a little bit hard to follow because

is rendered incorrectly by the stylesheet. It's possibly easier to read the print version at http://wiki.xensource.com/xenwiki/CrossCompiling?action=print The howto is targetted at building Xen/ia64 (including tools) on a Fedora8/x86_64 box, though it shouldn't be hard to do other combinations. Pre-built compiler rpms and a pre-built sys-root are provided, so all told it should take only a few minutes to setup. After completing the setup, it should be possible to do a full build with: make XEN_TARGET_ARCH=ia64 CROSS_COMPILE=ia64-linux-gnu- world Notes: 1. ext2fs-lib detection bug was fixed just a couple days ago in cset 1fbab289fed1, so make sure you pull the latest xen-unstable.hg... 2. The tools build breaks right now in ioemu due to the ia64 custom linker script. My next step will be to either fix that or get rid of it. If you comment it out of Makefile.target, the build should work entirely. Thanks, Aron