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 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>, Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:user-agent:date:subject:from:to:cc :message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type:content-transfer-encoding; bh=LD5Gyq8BSb8KKdjli5WSU605Vx7S9jXsVMVJGk1MP4A=; b=REuFZ2lyGLwOOxWt2GE4qnVNOyzO5sbFmuKUeztiRHYL3BSpR12kH6c5Vfipq5FU9q RdYWgVo4cKfsSYpzoWwm0fZocjz3t8K1k506NP/wKY5Y/f+gkdIIhnNRYnbPngntLWxp ALwZQSuJtHIOGUITTpgoowFD4lCQsCRPBp4Ic=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110527131600.GA5098@xxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwccKSUUxaZnQPvl02Rp2t08VsePg==
Thread-topic: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc
User-agent: Microsoft-Entourage/12.29.0.110113
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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel