Mail Archives: pgcc/1999/05/12/06:45:32
Hi,
a very strange bug from the snapshot (10.May):
rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ../../pgcc/gcc/sys-types.h ../../pgcc/gcc/sys-protos.h > SYSCALLS.c
./xgcc -B./ -B/sw/pgcc/i686-pc-linux-gnulibc1/bin/ -DIN_GCC -DUSE_GNULIBC_1
-g -W -Wall -I./include -I. -I../../pgcc/gcc -I../../pgcc/gcc/config
-I../../pgcc/gcc/../include \
-aux-info SYSCALLS.c.X -E -S -o tmp-SYSCALLS.s SYSCALLS.c
In file included from SYSCALLS.c:86:
include/stddef.h:28: machine/ansi.h: No such file or directory
make: *** [SYSCALLS.c.X] Error 1
O.k. i thought, such things can happen.
But then i changed the lines around 28 from gcc/include/stddef.h from
#if defined (__BSD_NET2__) || defined (____386BSD____) || \
defined (__FreeBSD__) || defined (__NetBSD__)
#include <machine/ansi.h>
#endif
into
#if 0
#include <machine/ansi.h>
#endif
And the same problem again! This seems to indicate a cpp
miscompilation, since the first stage went o.k.
What is my problem here?
Bye,
Martin.
PS:
My build procedure:
../pgcc/configure --prefix=/sw/pgcc --enable-shared --disable-debug
gmake LANGUAGES='c c++ f77 proto' bootstrap-lean
System is a Linux-PPro/2.0.36 kernel.
--MAA02180.926505396/david.siemens.de--
- Raw text -