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] [PATCH] Use stddef.h in Mini-OS to define size_t

To: ramsdell@xxxxxxxxx (John D. Ramsdell)
Subject: Re: [Xen-devel] [PATCH] Use stddef.h in Mini-OS to define size_t
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 2 May 2006 08:51:07 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Grzegorz Milos <gm281@xxxxxxxxx>
Delivery-date: Tue, 02 May 2006 00:55:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <ogtmze18o3l.fsf@xxxxxxxxxxxxxxx>
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>
References: <ogthd494w7u.fsf@xxxxxxxxxxxxxxx> <f07a10d3e6a7d026e0cc2ff2732553ea@xxxxxxxxxxxx> <ogtmze18o3l.fsf@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 1 May 2006, at 21:52, John D. Ramsdell wrote:

Keir, it would not be easy to modify the files that I'm adding.
Instead, I modify the Lua interpreter so that it no longer performs
floating point operations, but is otherwise a standard ANSI C program.
The Lua interpreter and Mini-OS are compiled and linked using a
cross-compiler combined with newlib for C library support.  Making
extensive modifications to both newlib and the Lua interpreter is
unappealing, to say the least.

Don't you get horrible namespace collisions when linking with a C library replacement? Not just stddef.h, but what about the definitions in minios's include/lib.h?

 -- Keir


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