WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] cross-compilation howto

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] cross-compilation howto
From: Aron Griffis <aron@xxxxxx>
Date: Tue, 29 Jan 2008 18:20:58 -0500
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 29 Jan 2008 15:22:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
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 <h1> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] cross-compilation howto, Aron Griffis <=