From: ramsdell@mitre.org (John D. Ramsdell) Subject: Re: [PATCH] Integrating applications into Mini-OS Date: 15 May 2006 09:45:34 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel@lists.xensource.com, Grzegorz Milos List-Id: xen-devel@lists.xenproject.org "Jacob Gorm Hansen" 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