On Mon, Feb 11, 2002 at 01:51:47PM +0100, Maciej W. Rozycki wrote:
quoted
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.
Hmm, in 2.95.3 in va-mips.h I see:
/* Get definitions for _MIPS_SIM_ABI64 etc. */
#ifdef _MIPS_SIM
#include <sgidefs.h>
#endif
so you shouldn't need sgidefs.h normally. Or did something get broken for
3.x?
Gcc is supposed to define _MIPS_SIM.
Ralf