On Mon, Feb 11, 2002 at 01:51:47PM +0100, Maciej W. Rozycki wrote:
> 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>
> so you shouldn't need sgidefs.h normally. Or did something get broken for
cd arclib; make all
make: Entering directory `/tmp/arcboot-0.2/arclib'
cc -O -Werror -Wall -mno-abicalls -G 0 -fno-pic -c -o arc.o arc.c
cc -O -Werror -Wall -mno-abicalls -G 0 -fno-pic -c -o stdio.o stdio.c
In file included from
/usr/lib/gcc-lib/mips-linux/2.95.4/include/va-mips.h:89: sgidefs.h: No
such file or directory
make: *** [stdio.o] Error 1
make: Leaving directory `/tmp/arcboot-0.2/arclib'
make: *** [all] Error 2
revamp:/tmp/arcboot-0.2# gcc -v
Reading specs from /usr/lib/gcc-lib/mips-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
revamp:/tmp/arcboot-0.2# vi /usr/lib/gcc-lib/mips-linux/2.95.4/include/va-mips.h
87 /* Get definitions for _MIPS_SIM_ABI64 etc. */
88 #ifdef _MIPS_SIM
89 #include <sgidefs.h>
I just saw it - I cant explain it ...
Florian Lohoff firstname.lastname@example.org +49-5201-669912
Nine nineth on september the 9th Welcome to the new billenium
Description: PGP signature