Hi folks,
I'm currently trying to build gpc-20030830 on Windows XP with mingw. After
unpacking, copying and `configure --enable-languages=pascal`ing, `make`
aborts with the error message:
make[1]: Circular libgcc.a <- pascal dependency dropped.
In file included from config/i386/mingw32.h:31,
from tconfig.h:16,
from libgcc2.c:36:
config/i386/cygwin.h:31:19: stdio.h: No such file or directory
In file included from config/i386/mingw32.h:31,
from tconfig.h:16,
from libgcc2.c:36:
config/i386/cygwin.h:447: parse error before '*' token
config/i386/cygwin.h:447: warning: function declaration isn't a prototype
config/i386/cygwin.h:449: parse error before '*' token
config/i386/cygwin.h:449: warning: function declaration isn't a prototype
In file included from libgcc2.c:37:
tsystem.h:63:19: stdio.h: No such file or directory
tsystem.h:66:23: sys/types.h: No such file or directory
tsystem.h:69:19: errno.h: No such file or directory
tsystem.h:76:20: string.h: No such file or directory
tsystem.h:80:20: stdlib.h: No such file or directory
tsystem.h:81:20: unistd.h: No such file or directory
In file included from C:/msys/1.0/mysoftware/gcc-3.2.1/gcc/include/limits.h:132,
from C:/msys/1.0/mysoftware/gcc-3.2.1/gcc/include/syslimits.h:7,
from C:/msys/1.0/mysoftware/gcc-3.2.1/gcc/include/limits.h:11,
from tsystem.h:84,
from libgcc2.c:37:
include/limits.h:132:75: limits.h: No such file or directory
In file included from libgcc2.c:37:
tsystem.h:87:18: time.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[1]: *** [libgcc.a] Error 2
make: *** [all-gcc] Error 2
After in the Makefile.in I added -I$(srcdir)/fixinc/tests/base to the include
path, only this error message remained:
rm: `include' is a directory
rm: `include' is a directory
config.h is unchanged
hconfig.h is unchanged
tm_p.h is unchanged
In file included from config/i386/mingw32.h:31,
from config.h:18,
from cppdefault.c:25:
config/i386/cygwin.h:447: parse error before '*' token
config/i386/cygwin.h:447: warning: function declaration isn't a prototype
config/i386/cygwin.h:449: parse error before '*' token
config/i386/cygwin.h:449: warning: function declaration isn't a prototype
make[1]: *** [cppdefault.o] Error 1
make: *** [all-gcc] Error 2
These lines in the source refer to a macro(?) named FILE that seemingly isn't
defined anywhere.
Does anyone have an idea what I'm doing wrong? -- My MinGW installation
directory is just C:\MinGW, so all of the important system headers should be
found in C:\MinGW\include. I'm compiling from within my msys directory tree,
which is situated at C:\msys\1.0.
Any ideas will be welcome.
Thanks in advance,
Markus