Ive tried again using gcc 2.95.3 and gpc20010623 and get the following error:
gcc -c -DIN_GCC -DGPC -g -O2 `case "gcc" in *gcc*) echo -Wall;; esac` -I. -I.. -I. -I./.. -I./../config -I./../../include gpc-common.c In file included from gpc-common.c:29: gbe.h:152: conflicting types for `xmalloc' ../../include/libiberty.h:129: previous declaration of `xmalloc' In file included from gpc-common.c:35: util.h:196: conflicting types for `concat' ../../include/libiberty.h:48: previous declaration of `concat' gmake[2]: *** [gpc-common.o] Error 1 gmake[2]: Leaving directory `/usr/local/src/gcc-2.95.3/gcc/p' gmake[1]: *** [gpc1] Error 2 gmake[1]: Leaving directory `/usr/local/src/gcc-2.95.3/gcc' gmake: *** [all-gcc] Error 2
In include/libiberty.h: extern char *concat PARAMS ((const char *, ...)); extern PTR xmalloc PARAMS ((size_t));
In gcc/p/util.h: extern char *concat PARAMS ((char *, ...));
In gcc/p/gbe.h: extern char *xmalloc PARAMS ((size_t));
Can anyone help me please. I am mainly a pascal programmer and new to all this stuff.
Theo Carr-Brion