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] minios: minor buildsystem fixes

On Wed, 15 Jul 2009, Ian Jackson wrote:
> > Linux build will default to first, NetBSD build will default to latter one.
> 
> In particular I think this is quite wrong.

After giving it more thoughts, I agree with Ian.

> 
> > NetBSD libc doesn't have linux integer types, that's why mini-os
> > has been moved to C99 integer types. The mini-os headers need
> > some re-structuring to not conflict with the native libc, namely
> > if you want a mini-os header you explicitely have to type
> > <mini-os/header.h>
> 
> I agree that it would be good to replace the minios libc.  The current
> libc is horrid.  The BSD libc is very nice (and I have found it a joy
> to port to a new embedded target, in the past).
> 
> But if we change to a new libc this should be done by always using the
> new libc (BSD-derived, but not necessarily NetBSD; FreeBSD is another
> choice) even on Linux hosts.
>

In the process of making qemu stubdoms work, we certainly found many
shortcomings in newlib, so I welcome the idea of switching to a different
libc, especially if we want to make minios a good environment to run other
applications.
But maintaining a cross-compile environment is hard enough, we don't
want to maintain two of them, so the new libc should compile on Linux
hosts too.



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