Juha Korkiakangas wrote:
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----------------- ../.././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 Please submit a full bug report. See URL:http://www.gnu.org/software/gcc/faq.html#bugreport for instructions.
There are some problems with debug info generation. Try building without them by adding something like `CFLAGS=-O3' (i.e., without `-g') on the command line.
--------------with make-------------------
Non-GNU make doesn't work in general for GCC/GPC. Just use gmake.
Frank