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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] minios: minor buildsystem fixes

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] minios: minor buildsystem fixes
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: 2009年7月16日 14:17:20 +0200
Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: 2009年7月16日 05:18:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19037.64984.324031.106467@xxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C68370A6.F977%keir.fraser@xxxxxxxxxxxxx> <200907151142.48343.Christoph.Egger@xxxxxxx> <19037.64984.324031.106467@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.7
On Wednesday 15 July 2009 18:03:36 Ian Jackson wrote:
> Christoph Egger writes ("[Xen-devel] [PATCH] minios: minor buildsystem 
fixes"):
> > Attached patch changes MiniOS.mk and tools/Rules.mk
> > use the OS settings we build on.
>
> I don't think that's right. The minios cross-build should use the Xen
> cross build machinery. That machinery isn't very good but it is the
> same on every host.
It's not the same on every host due to lack of proper abstraction.
> Christoph Egger writes ("Re: [Xen-devel] [PATCH] minios: minor buildsystem 
fixes"):
> > The current approach works for Linux only.
>
> Really ? What's wrong with it for NetBSD ?
Assumptions which don't apply to NetBSD.
> > NetBSD's base system is designed for cross-building.
>
> I don't think we should be trying to use the host operating system's
> cross-build support.
Please explain why not.
It's a question of having a proper abstraction.
> > 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.
>
> And certainly not the host operating system's libraries for our
> cross-build !
Please explain why not.
It's a question of having a proper abstraction.
> > Linux build will default to first, NetBSD build will default to latter
> > one.
>
> In particular I think this is quite wrong.
Please explain why.
> > 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.
I think, let's first find a proper abstraction and then make the decision what
is best for which host.
Christoph
-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Latest xen-3.4-testing hangs on boot with iommu=1, on a Lenovo T500 , Tom Rotenberg
Next by Date: Re: [Xen-devel] [PATCH] minios: minor buildsystem fixes , Samuel Thibault
Previous by Thread: Re: [Xen-devel] [PATCH] minios: minor buildsystem fixes , Samuel Thibault
Next by Thread: Re: [Xen-devel] [PATCH] minios: minor buildsystem fixes , Samuel Thibault
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /