[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc
On Fri, 2011-05-27 at 14:19 +0100, Keir Fraser wrote: > 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. $ clang -print-file-name=include /usr/bin/../lib/clang/2.8/include $ ls /usr/bin/../lib/clang/2.8/include/stdarg.h /usr/bin/../lib/clang/2.8/include/stdarg.h ... on recentish Debian at least. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |