As posted earlier, I am working on a FreeBSD port of gpc.
So far I managed to create these two versions together with gcc 2.8.1:
Reading specs from /usr/ports/lang/gpc/inst/lib/gcc-lib/i386-unknown-freebsd4.0/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
Reading specs from /usr/ports/lang/gpc/inst2/lib/gcc-lib/i386-unknown-freebsd4.0/2.8.1/specs gpc version 19991030, based on gcc-2.8.1
I agreed with our primary compiler maintainer to first finish a clean gcc 2.8.1 based port and then move on to the latest gcc (2.96) we have ported.
This is mostly because gpc is easier to integrate with the gcc-2.8.1 port.
A major problem is how to distinguish errors due to plattform issues from bugs in the compiler (modulo my limited experience with the gpc dialect of Pascal :)
Using a test suite would be very helpful. Something like that is mentioned in the gpc info documentation.
Can you point me to a set of test programs (with a statement what is supposed to work and what not)?
I would also like to know roughly how dependent gpc is on the gcc backend, do you have something like a reference version of gcc, one to test against?
Regards, Marc