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

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

>>> On 26.05.11 at 16:54, Christoph Egger <Christoph.Egger@xxxxxxx> wrote:

> For compiling the xen kernel we use -nostdinc which means
> we don't want to rely on any external headers.
> That also counts vor stdarg.h.

I think using compiler provided headers is fine, and I have to admit
I don't like the open-coding of various definitions to gcc builtins - if
gcc changes anything here, we'll break (which after all is why the
compiler provides this header instead of the platform).


> Use the external header when we compile the tools.
> Adapt libelf-loader.c which is compiled in the kernel
> and with the tools.
> Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>

Xen-devel mailing list



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