On Sat, Feb 09, 2002 at 04:01:55PM +0100, Florian Lohoff wrote:
> i just stumbled when i tried to compile a program (bootloader) with
> gcc which uses varargs. I got the error that "sgidefs.h" was missing.
> sgidefs.h is contained in the glibc which gets included by va-mips.h
> from stdarg.h - I dont think this is correct as i should be able
> to compile programs without glibc.
> Shouldnt sgidefs.h or its content be included in the gcc ?
There should be a copy of sgidefs.h in /usr/include rsp. for crosscompilers
in <prefix>/<target>/include/sgidefs.h. However the gcc varargs stuff
has been rewritten completely; the new implementation does no longer try
to include sgidefs.h.