I tried to install gpc 19991030 on top of gcc-2.95.2, on a DEC Alpha computer with OSF 4.0e.
According to suggestions made by Nicola Girardi, I proceeded in the following way :
tar xvfz gcc-2.95.2.tar.gz tar xvfz gpc-19991030.tar.gz mv gpc/p gcc-2.95.2/gcc/ cd gcc-2.95.2 mkdir gpc ../configure --enable-languages=pascal [ here the necessary patch was applied ] make
The last step terminates with the following results :
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 -DRTS_RELEASE_STRING="'__GPC_RTS_VERSION_`cat /net2/ciceron2/ol/src/Install/gcc-2.95.2/gcc/p/rts/rts_release`__'" -DBSD_RTS=0 `if [ x@with_shared@ = xyes ] ; then echo -fPIC; fi` --unit-path=/net2/ciceron2/ol/src/Install/gcc-2.95.2/gcc/p/rts --automake heap.pas error.pas: In function `Geterrormessage': error.pas:365: Internal compiler error in `copy_to_mode_reg', at explow.c:669 Please submit a full bug report. See URL:http://www.gnu.org/software/gcc/faq.html#bugreport for instructions. gpc1: ../.././xgpc exited with status 1 heap.pas:30: module/unit `error' could not be compiled make[2]: *** [heap.o] Error 1 make[2]: Leaving directory `/net2/ciceron2/ol/src/Install/gcc-2.95.2/gcc/p/rts' make[1]: *** [pascal.rts] Error 2 make[1]: Leaving directory `/net2/ciceron2/ol/src/Install/gcc-2.95.2/gcc' make: *** [all-gcc] Error 2
Did this problem occur to anybody else ?
Olivier Lecarme