[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.