|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] RE: 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
|
|
|
|
|