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

Re: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc


  • To: Christoph Egger <Christoph.Egger@xxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Fri, 27 May 2011 09:46:45 +0100
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 27 May 2011 07:11:08 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=uioaFmvHKE0ym/93BkpON+YafJT4p737Al2RPYSPbqHs96zgLwxHjgN5DcUfL8BWqi uywcmP0Mjwlyiblf9ec6H/5VO+3sagOMjZr94tiMx6qLNWeXpoQLeMGQnMw6UU+YgqYi +SocrNBO2ADuGGc2DyRsfI1Y7NjJZIqE84cY8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcwcSpuQxvhnuMqZvEiHjxLs4g7FWA==
  • Thread-topic: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc

On 27/05/2011 08:55, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

>> Not really. We are only doing the same as Linux right now. I do note that
>> they add an -isystem option to their command line, with a gcc include path
>> that they presumably dump out of gcc in some standard way. However, our
>> current approach seems to work, if it fails to work in some situation it is
>> likely to be pretty obvious (build or link failure), and we can fix it then.
> 
> The cross-compiling facility in NetBSD has been further improved which
> made gcc more pendantic for this. -nostdinc is used and -isystem is
> *not* used.

So where does NetBSD get its stdarg.h from in this case? It's somewhat bogus
to roll your own, as it contains compiler-specific intrinsics.

 -- Keir



_______________________________________________
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®.