linux-mips
[Top] [All Lists]

Re: gcc include strangeness

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: gcc include strangeness
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Sun, 10 Feb 2002 12:11:34 +0100
Cc: linux-mips@oss.sgi.com
In-reply-to: <20020209150155.GA853@paradigm.rfc822.org>; from flo@rfc822.org on Sat, Feb 09, 2002 at 04:01:55PM +0100
References: <20020209150155.GA853@paradigm.rfc822.org>
Sender: owner-linux-mips@oss.sgi.com
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.

 Ralf

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