From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH] minios: minor buildsystem fixes Date: Wed, 15 Jul 2009 13:24:21 -0400 Message-ID: <20090715172421.GD4903@const.linuxsymposium.org> References: <200907151427.01060.Christoph.Egger@amd.com> <200907151142.48343.Christoph.Egger@amd.com> <19037.64984.324031.106467@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <19037.64984.324031.106467@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Christoph Egger , xen-devel@lists.xensource.com, Keir Fraser , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Hello, Ian Jackson, le Wed 15 Jul 2009 17:03:36 +0100, a =E9crit : > > The new infrastructure I have in mind will allow to choose if you use > > newlib, libz, lwip and pciutils or use the native libs from the > > base system. >=20 > And certainly not the host operating system's libraries for our > cross-build ! Yes, that's asking for problems. > > 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 > > >=20 > 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). That should be fine yes. I don't remember precisely the reasons why I chose newlib. I didn't know the BSD libc had embedded targets too. > But if we change to a new libc this should be done by always using the > new libc even on Linux hosts. Yes. We should avoid having to fix several libcs. Samuel