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

Re: [Xen-devel] RFC/Patch: Build changes for cross-compilation

Patch attached.  (I mean it this time.)

Prepending CROSS_COMPILE is most of the solution.  However, there are
some Makefile that need to be more careful about using CC vs HOSTCC.  I
also think it is a bad idea for so many Makefiles to be setting
"CC:=gcc".   Something like this should IMO be set in one place only,
and hence my Config.mk suggestion.

On Mon, 2005-03-21 at 17:58 +0000, Keir Fraser wrote:
> On 21 Mar 2005, at 15:44, Michal Ostrowski wrote:
> 
> >
> > Attached is a number of changes to the build system that I've been 
> > using
> > to enable cross-compilation.  The biggest change is the introduction of
> > a "Config.mk" file that is included by all Rules.mk files.
> 
> The attachment was missing. In any case, it's not clear to me that any 
> big changes are needed to the build system to support cross compilation 
> -- could we just prepend a $(CROSS_COMPILE) variable to the name of 
> each toolchain binary used to build images to be run on the target 
> architecture? This is all that Linux provides.
> 
>   -- Keir
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel
-- 
Michal Ostrowski <mostrows@xxxxxxxxxxxxxx>

Attachment: xbuild.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part