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: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] minios: minor buildsystem fixes
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: 2009年7月15日 17:03:36 +0100
Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: 2009年7月15日 09:04:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200907151142.48343.Christoph.Egger@xxxxxxx>
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>
Newsgroups: chiark.mail.xen.devel
References: <C68370A6.F977%keir.fraser@xxxxxxxxxxxxx> <200907151427.01060.Christoph.Egger@xxxxxxx> <200907151142.48343.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.
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 ?
> 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.
> 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 !
> Linux build will default to first, NetBSD build will default to latter one.
In particular I think this is quite wrong.
> 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.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [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] tools: simplify install of python "binaries" , Ian Jackson
Previous by Thread: Re: [Xen-devel] [PATCH] minios: minor buildsystem fixes , Christoph Egger
Next by Thread: Re: [Xen-devel] [PATCH] minios: minor buildsystem fixes , Stefano Stabellini
Indexes: [Date] [Thread] [Top] [All Lists]

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

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