Hello, folks,
a new GPC snapshot is available:
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/gpc-19991030.tar.gz
As usual: Source only; nothing guaranteed.
Main changes since the last snapshot (19990813):
* Works with gcc-2.95.x.
* In preparation for a integration into GCC, most patches to the GCC backend have been obsoleted and removed. The remaining ones will either vanish, too, or be integrated into GCC.
* The set-handling routines have been re-written. Set operations are handled in the RTS and should be more stable now.
* Some problems with packed arrays on big-endian machines have been solved.
* `-dY' is now `--debug-source'.
* New options `--[no-]transparent-file-names'.
* ... and much more.
Have fun,
Peter
Peter Gerwinski writes:
Hello, folks,
a new GPC snapshot is available:
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/gpc-19991030.tar.gz
As usual: Source only; nothing guaranteed.
Builds all-right on solaris2.{6,7}.
On Irix6.5, I have problems. FWIW, here's an account of how far I got:
1) File p/diffs/gcc-2.95.2-diff:
The patch to gcc-2.95.1/stor-layout.c introduces:
int set_words_big_endian = BYTES_BIG_ENDIAN; /* @@@ Needn't be a constant! */
which, in fact, is a problem for Irix6.x, where the macro BYTES_BIG_ENDIAN isn't a constant. Patched to:
int set_words_big_endian = 0;
2) File p/rts/rts.h:232:233
Redefine
#define isdigit(ch) ((ch) >= '0' && (ch) <= '9') #define isspace(ch) ((ch) == ' ' || (ch) == '\t')
which are also defined in /usr/include/ctype.h. Patched to remove the two redefinitions.
3) Having dealt temporarily with the issues above, I come to a grinding halt with this one:
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 -DRTS_RELEASE_STRING="'__GPC_RTS_VERSION_`cat /tmp/benedict/BUILD-gpc/gcc-2.95.2/gcc/p/rts/rts_release`__'" -DBSD_RTS=0 `if [ x@with_shared@ = xyes ] ; then echo -fPIC; fi` --unit-path=/tmp/benedict/BUILD-gpc/gcc-2.95.2/gcc/p/rts --automake heap.pas string.pas: In function `Memcompcase': string.pas:241: Internal compiler error in `add_bound_info', at dwarf2out.c:7376 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 error.pas:30: module/unit `string' could not be compiled gpc1: ../.././xgpc exited with status 1 heap.pas:30: module/unit `error' could not be compiled gmake[2]: *** [heap.o] Error 1 gmake[2]: Leaving directory `/tmp/benedict/BUILD-gpc/gcc-2.95.2/gcc/p/rts'
--- benedict