|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] xen: Deal with stdarg.h and -nostdinc
At 11:48 +0200 on 27 May (1306496895), Christoph Egger wrote:
> On 05/27/11 11:21, Keir Fraser wrote:
> >Secondly, I wonder whether *BSD would be happier if we did not include
> >-nostdinc on the command line? See arch/x86/Rules.mk where SunOS is already
> >special cased. I don't know whether that would work for BSD too.
>
> It works for NetBSD at least.
>
> >Finally, rather than referencing a hardcoded /usr/include path or including
> >gcc intrinsics in xen/stdarg.h, would *BSD prefer a -isystem command-line
> >option to include the gcc headers in the search path? Then we could perhaps
> >even get rid of xen/stdarg.h completely.
>
> 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.
Tim.
--
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|