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/
Home Products Support Community News


Re: [Xen-devel] [PATCH][1/4] Cross-compilation enablement.

On Tue, 30 Aug 2005 14:08:40 +0100
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:

> Also, if you cannot cross-compile all the tool chain (including 
> important Python-based components), what is the point in 
> cross-compiling any of them? I guess most of your patches are cleanups, 
> and mbootpack is executed on the compile host, but still I wonder. :-)

a) The python cross-compilation problems stem from the fact that python
facilities are being used to build your python-binding libraries.  I
don't see an easy way to tell those tools that they should be
cross-compiling. Setting CC and CFLAGS and the like is not enough; the
python tools need to realize that they must build using a python
installation that is not the installation that is being used to run the

Cross-compilation environments also tend to be fairly poor in
terms of the libraries that are present and my experience has been that
higher-level libraries and tools tend to be less cross-compilation

b) I'm not assuming I can fix everything in one shot.

c) I can cross-compile vm-tools. 

Michal Ostrowski

Attachment: pgp5l50ce1blh.pgp
Description: PGP signature

Xen-devel mailing list