[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Add INSTALL file



On Tue, Oct 21, Ian Campbell wrote:

> On Tue, 2014-10-21 at 11:40 +0200, Olaf Hering wrote:
> > On Mon, Oct 20, Julien Grall wrote:
> > 
> > > The typical command line to build arm is:
> > > 
> > > make XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- ....
> > 
> > What gets cross compiled in this case? I can imagine its just for xen
> > itself? I think the tools build would need a cross-pkgconfig and all
> > that?
> 
> It is possible to cross-compile both (as it happens I do my precommit
> arm64 build test that way), see
> http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling
> 
> But yes, you need a full cross build environment for the tools portion.

Would this example work?


* To build xen and tools using a cross compiler:
./configure --build=x86_64-unknown-linux-gnu --host=aarch64-linux-gnu
make XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
make XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- \
        DESTDIR=/some/path install


Is --build= required or does configure detect this properly?

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.