L.S.
When trying to create a binary for Linux and HPUX 10.20 of the latest gpc beta-release, using egcs-2.91.57 (19980901 (egcs-1.1 release)) I encountered the following problems. Using: ./configure --prefix=/opt/egcs --with-gnu-as --enable-shared (also without enable shared) and with both gcc version 2.7.2.3 or the egc-1.1 C-compiler
On BOTH linux and hpux the file gcc/p/Makefile had to be changed to signal the use of egcs: Added -DEGCS to ALL_CFLAGS in Makefile
With this change the Linux version works as advertised.
BUT on hpux10 the following PROBLEM occurs during COMPILING the runtime system:
here last part of the output of the make command:
....
../../xgpc -B../../ -c -DGPC -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -g -O2 -I. -I../.. -I/wing3/home1/users/sietse/egcs-1.1b/gcc/p/rts/../.. -I/wing3/home1/users/sietse/egcs-1.1b/gcc/p/rts/../../config filename.pas filename.pas: In function `Slash2osdirseparator': filename.pas:180: internal error--unrecognizable insn: (insn 15 6 19 (set (zero_extract:SI (reg:SI 96) (const_int 32) (const_int 0)) (reg:SI 97)) -1 (insn_list 12 (insn_list 14 (nil))) (nil)) ../toplev.c:1378: Internal compiler error in function fatal_insn make[2]: *** [filename.o] Error 1 make[2]: Leaving directory `/wing3/home1/users/sietse/egcs-1.1b/gcc/p/rts' make[1]: *** [libgpc.a] Error 2 make[1]: Leaving directory `/wing3/home1/users/sietse/egcs-1.1b/gcc' make: *** [all-gcc] Error 2
Anyone have a clue?
Sietse Achterop Computing Science Department University of Groningen The Netherlands
P.S. the were also a few (probably non-relevant) warnings in the rts compilation: write.c:199: warning: no previous prototype for `_p_write' read.c:175: warning: no previous prototype for `_p_read' string.c:193: warning: no previous prototype for `_p_string' string.c:396: warning: no previous prototype for `_p_writestr' string.c:511: warning: no previous prototype for `_p_readstr'