Juha Korkiakangas wrote:
hi,
I'm trying to compile gpc-20020910 with gcc-2.95.1 on Solaris_x86 but I get two different error-message depending what make I'm using. I'm not getting any error messages when running configure with options --enable-languages=pascal.
----with gmake-----------------
<snip>
../.././xgpc -B../.././ -c -g -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 -DRTS_RELEASE_STRING="'`cat /export/home/juha/gcc-2.95.1/gcc/p/rts/rts-version`'" --unit-path=/export/home/juha/gcc-2.95.1/gcc/p/rts --automake `cat needed-options` /export/home/juha/gcc-2.95.1/gcc/p/rts/rtsc.pas <implicit code>:22: Internal compiler error in `output_type', at dwarfout.c:4366
^^^^^^^^ For some reason your GPC is configured to use DWARF debugging format. IMHO DWARF debugging never worked for GPC. Quick fix is to build runtime without debugging symbols (make CFLAGS="-O2"). You may also try to force different debugging format (like '-gstabs').