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] Mini-OS Makefile and Cross Compilation

To: "John D. Ramsdell" <ramsdell@xxxxxxxxx>, <gm281@xxxxxxxxx>
Subject: Re: [Xen-devel] Mini-OS Makefile and Cross Compilation
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 03 Apr 2007 07:19:55 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 02 Apr 2007 23:17:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <ogtlkhaid7v.fsf@xxxxxxxxxxxxxxxx>
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: Acd1uBiRV0JmpuGrEduNPgAWy6hiGQ==
Thread-topic: [Xen-devel] Mini-OS Makefile and Cross Compilation
User-agent: Microsoft-Entourage/11.3.3.061214
On 3/4/07 00:11, "John D. Ramsdell" <ramsdell@xxxxxxxxx> wrote:

> I decided to carefully read the makefiles in the Mini-OS directories.
> I discovered that the one in the root directory calls for $(OBJCOPY).
> When using a cross compiler, this variable evaluates to objcopy, but
> the installation of a cross compiler does not produce a binary named
> objcopy.  When the target is i386-elf, it puts i386-elf-objcopy in the
> bin directory where it is installed, but objcopy is not put the
> i386-elf/bin directory.  Is this makefile intended to be used with a
> cross compiler?  I'd gladly specify a target of i386-elf on the
> command line if that helps.

I doubt anyone has ever cross-compiled the minios. I'd suggest making its
build system more like Xen's in terms of how it picks up the tool chain (Xen
can be cross compiled). I have no specific pointers on how to do that.

 -- Keir



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

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