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

[Xen-devel] RE: xen/ia64 crosscompile

To: "Hollis Blanchard" <hollisb@xxxxxxxxxx>
Subject: [Xen-devel] RE: xen/ia64 crosscompile
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Wed, 13 Apr 2005 09:08:09 -0700
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Apr 2005 16:08:35 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcU6JoqHuD0TCXtwSgq5nsPMFPyrqgGGYVFg
Thread-topic: xen/ia64 crosscompile
I finally got around to trying your patch. It seems to work fine for
cross-compiling but it doesn't work native (on an ia64).  It appears
that CC gets set to CROSS_COMPILE, which wreaks havoc.

I can get around this problem by surrounding the setting
of CROSS_COMPILE with ifneq ($(COMPILE_ARCH),$(TARGET_ARCH))

Will this do?

Dan

> -----Original Message-----
> From: Hollis Blanchard [mailto:hollisb@xxxxxxxxxx] 
> Sent: Tuesday, April 05, 2005 3:27 PM
> To: Magenheimer, Dan (HP Labs Fort Collins)
> Cc: Xen-devel
> Subject: xen/ia64 crosscompile
> 
> Hi Dan, could I convince you to take this patch? I'm trying to
> cross-compile xen/ia64 so I can propose portability fixes 
> that work for
> ia64 too, but obviously I don't
> have /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux-gcc and I
> think it's better to use the CROSS_COMPILE variable found in 
> Config.mk.
> Your build should be unaffected.
> 
> Also, have you tried building with a current gcc? Crosstool
> (http://kegel.com/crosstool) gave me 3.4.2, but there are a 
> fair number
> of implicit function declarations that cause build breaks, 
> some of which
> live in Linux-patched code (I just hacked them by hand). I'd 
> really like
> to be able to build with crosstool...
> 
> -- 
> Hollis Blanchard
> IBM Linux Technology Center
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>