From: Michal Ostrowski Subject: Re: [PATCH][1/4] Cross-compilation enablement. Date: Tue, 30 Aug 2005 09:26:00 -0400 Message-ID: <20050830092600.3fc83daf@brick.watson.ibm.com> References: <20050830082230.1422f7fa@brick.watson.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1772148254==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1772148254== Content-Type: multipart/signed; boundary=Signature_Tue__30_Aug_2005_09_26_00_-0400_qQo1I3pDxFULU81M; protocol="application/pgp-signature"; micalg=pgp-sha1 --Signature_Tue__30_Aug_2005_09_26_00_-0400_qQo1I3pDxFULU81M Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 30 Aug 2005 14:08:40 +0100 Keir Fraser wrote: >=20 > Also, if you cannot cross-compile all the tool chain (including=20 > important Python-based components), what is the point in=20 > cross-compiling any of them? I guess most of your patches are cleanups,=20 > and mbootpack is executed on the compile host, but still I wonder. :-) >=20 > =20 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.=20 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.=20 --=20 Michal Ostrowski --Signature_Tue__30_Aug_2005_09_26_00_-0400_qQo1I3pDxFULU81M Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFDFF5oDMDCqU5zPMARApXKAJ4o2P5f6ALofdliEIFggVko9CB7gQCfbWHj DpA57DUhQp6zdgbQjJtpj68= =EukJ -----END PGP SIGNATURE----- --Signature_Tue__30_Aug_2005_09_26_00_-0400_qQo1I3pDxFULU81M-- --===============1772148254== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1772148254==--