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] Integrating applications into Mini-OS

To: "Jacob Gorm Hansen" <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Integrating applications into Mini-OS
From: ramsdell@xxxxxxxxx (John D. Ramsdell)
Date: 15 May 2006 09:45:34 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Grzegorz Milos <gm281@xxxxxxxxx>
Delivery-date: Mon, 15 May 2006 06:45:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e08041f30605150518i6eeb4ce7gdb6dcf9bc9fd5643@xxxxxxxxxxxxxx>
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: <ogtslngh652.fsf@xxxxxxxxxxxxxxx> <e08041f30605150518i6eeb4ce7gdb6dcf9bc9fd5643@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
"Jacob Gorm Hansen" <jacobg@xxxxxxx> writes:

> I have attached a small patch to mini-os which changes the mini-os
> Makefile and adds a dummy main function which you can override by
> linking with your own main() first, as in:

The primary goal of my patch is to change the Mini-OS sources so that
one need not modify source files in the Mini-OS distribution to add an
application.  I'm not wedded to the particulars of my patch, however,
your patch is insufficient for my goals.  You see, sometimes one wants
to build Mini-OS using the newlib C library, and sometimes one wants
to build Mini-OS so it uses only the subset of the C library that
comes with Mini-OS.  I really need #if !defined HAVE_LIBC preprocessor
commands to be added to lib/printf.c and lib/string.c.

John

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