From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] xen: Deal with stdarg.h and -nostdinc Date: Fri, 27 May 2011 14:19:01 +0100 Message-ID: References: <20110527131600.GA5098@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110527131600.GA5098@whitby.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan , Christoph Egger Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 27/05/2011 14:16, "Tim Deegan" 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