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

Michal Ostrowski
Tue, 30 Aug 2005 13:26:00 -0000

On Tue, 30 Aug 2005 14:08:40 +0100
Keir Fraser <Keir.Fraser@cl.cam.ac.uk> 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
build.

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
friendly.

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

c) I can cross-compile vm-tools.


--
Michal Ostrowski