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...
Signature · 2 lines
Hollis Blanchard IBM Linux Technology Center
===== xen/arch/ia64/Rules.mk 1.3 vs edited =====
xen/arch/ia64/Rules.mk +2 -10
@@ -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
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel