Re: Does kernel use system stdarg.h?
Mikael Pettersson (mikpe@csd.uu.se)
Fri, 27 Sep 2002 11:31:14 +0200
Denis Vlasenko writes:
> On 27 September 2002 06:26, Russell King wrote:
> > > There is no stdarg.h in kernel tree, should it be there?
> > > For now I just copied GCC one into linux/include...
> >
> > It must be the GCC one. If your GCC isn't finding it, then you've got a
> > broken GCC installation; "-iwithprefix include" tells GCC to look in its
> > private include directory for such things.
> >
> > You could try adding -v to CFLAGS to see where it is searching for
> > includes.
>
> Oh, I thought we don't depend on any system/GCC headers. :-(
GCC headers != glibc headers
GCC's headers are needed for stdarg and other stuff requiring compiler magic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/