Re: gcc include strangeness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux