[Top] [All Lists]

Re: gcc include strangeness

To: Florian Lohoff <>
Subject: Re: gcc include strangeness
From: Ralf Baechle <>
Date: Sun, 10 Feb 2002 12:11:34 +0100
In-reply-to: <>; from on Sat, Feb 09, 2002 at 04:01:55PM +0100
References: <>
User-agent: Mutt/1.2.5i
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.


<Prev in Thread] Current Thread [Next in Thread>