| To: | "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> |
|---|---|
| Subject: | Re: gcc include strangeness |
| From: | Ralf Baechle <ralf@oss.sgi.com> |
| Date: | Mon, 11 Feb 2002 23:04:27 +0100 |
| Cc: | Florian Lohoff <flo@rfc822.org>, linux-mips@oss.sgi.com |
| In-reply-to: | <Pine.GSO.3.96.1020211134516.18917A-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Mon, Feb 11, 2002 at 01:51:47PM +0100 |
| References: | <20020209150155.GA853@paradigm.rfc822.org> <Pine.GSO.3.96.1020211134516.18917A-100000@delta.ds2.pg.gda.pl> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5i |
On Mon, Feb 11, 2002 at 01:51:47PM +0100, Maciej W. Rozycki 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? Gcc is supposed to define _MIPS_SIM. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: gcc include strangeness, Ralf Baechle |
|---|---|
| Next by Date: | Re: gcc include strangeness, Ralf Baechle |
| Previous by Thread: | Re: gcc include strangeness, Guido Guenther |
| Next by Thread: | Re: gcc include strangeness, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |