linux-mips
[Top] [All Lists]

Re: gcc include strangeness

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: gcc include strangeness
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Mon, 11 Feb 2002 13:51:47 +0100 (MET)
Cc: linux-mips@oss.sgi.com
In-reply-to: <20020209150155.GA853@paradigm.rfc822.org>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Sat, 9 Feb 2002, 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.

 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?

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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