I managed to get the mbchar.* files from a newer gcc version and copied them into the gcc source directory and it looks like we got past that point.
Well, only to get this:
../../xgpc -B../../ -c -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -g -O2 `if [ x@with_shared@ == xyes ] ; then echo -fPIC; fi` --unit-path=/ece2/eeof/egcs-1.1.2/gcc/p/rts --automake /ece2/eeof/egcs-1.1.2/gcc/p/rts/files.pas /bin/sh: ==: A test command parameter is not valid. /ece2/eeof/egcs-1.1.2/gcc/p/rts/files.pas: In function `Ioselect': /ece2/eeof/egcs-1.1.2/gcc/p/rts/files.pas:162: internal error--unrecognizable insn: (insn 286 283 288 (set (zero_extract:SI (reg:SI 223) (const_int 32) (const_int 0)) (reg:SI 222)) -1 (insn_list 283 (insn_list 285 (nil))) (expr_list:REG_DEAD (reg:SI 222) (nil))) ../../../egcs-1.1.2/gcc/p/../toplev.c:1385: Internal compiler error in function fatal_insn make[2]: *** [files.o] Error 1 make[2]: Leaving directory `/ece2/eeof/gcc/gcc/p/rts' make[1]: *** [pascal.rts] Error 2 make[1]: Leaving directory `/ece2/eeof/gcc/gcc' make: *** [all-gcc] Error 2
In fact I get the warning:
/bin/sh: ==: A test command parameter is not valid.
for every pascal source file compiled.
Now, what? :)
Dimitrios.