From: Hollis Blanchard Subject: xen/ia64 crosscompile Date: Tue, 05 Apr 2005 16:26:58 -0500 Message-ID: <1112736419.32010.20.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-v4HAe7Vtl/wBaS1PC+O5" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --=-v4HAe7Vtl/wBaS1PC+O5 Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 --=-v4HAe7Vtl/wBaS1PC+O5 Content-Disposition: attachment; filename=xen-ia64-cross.diff Content-Type: text/x-patch; name=xen-ia64-cross.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit ===== xen/arch/ia64/Rules.mk 1.3 vs edited ===== --- 1.3/xen/arch/ia64/Rules.mk 2005-04-01 13:52:51 -06:00 +++ edited/xen/arch/ia64/Rules.mk 2005-04-05 16:15:54 -05:00 @@ -1,16 +1,8 @@ ######################################## # x86-specific definitions -ifeq ($(COMPILE_ARCH),$(TARGET_ARCH)) -OBJCOPY = objcopy -endif -ifneq ($(COMPILE_ARCH),$(TARGET_ARCH)) -CC = /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux-gcc -LD = /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux-ld -OBJCOPY = /usr/local/sp_env/v2.2/i686/bin/ia64-unknown-linux-objcopy -endif -HOSTCC := gcc -#LD := ld +CROSS_COMPILE ?= /usr/local/sp_env/v2.2.5/i686/bin/ia64-unknown-linux- + # Linker should relocate monitor to this address MONITOR_BASE := 0xFC500000 # Bootloader should load monitor to this real address --=-v4HAe7Vtl/wBaS1PC+O5 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 --=-v4HAe7Vtl/wBaS1PC+O5--