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

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

  • To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>, Christoph Egger <Christoph.Egger@xxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Fri, 27 May 2011 14:19:01 +0100
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 27 May 2011 06:19:41 -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=F+yszbzqW5U3O7vubKvGBbkAXSay8mG7yLvH2mzHYHa+bRcayMgLfeNTFFm0bWKPmh nFwOwHXGhrHvVY16Fd/xCTjiVGwT5lkzByWKdwtdWkkhuqbJxw8nCVOAGFlVrYUZY5zp nzoBn72EU+FMGVRQdJP3RCWu0QEz52Xs29yYE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcwccKSUUxaZnQPvl02Rp2t08VsePg==
  • Thread-topic: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc

On 27/05/2011 14:16, "Tim Deegan" <Tim.Deegan@xxxxxxxxxx> wrote:

>> NetBSD is about to add clang/llvm support. If -isystem works for both
>> gcc and clang then this should be fine.
> Building Xen with clang I had to remove the -nostdinc because I couldn't
> find a sensible way of automatically finding the clang include paths.
> It may be that I just wasn't looking in the right place.

Well, keeping the -nostdinc -isystem line as CFLAGS-$(gcc) wouldn't be so
bad really. I wasn't sure whether clang would have support for these gcc
command line options for dumping spec.

 -- Keir

Xen-devel mailing list



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