Waldek Hebisch wrote:
I have put a new gpc snapshot at:
http://www.math.uni.wroc.pl/~hebisch/gpc-20070904.tar.bz2
This snaphshot contains mostly bugfixes. Main feature is that gcc-4.1.x support is now integrated.
Thanks for the snapshot !
NOTE: there is a change of licence: this snapshot uses GPL version 3.
For new features see:
http://www.math.uni.wroc.pl/~hebisch/gpc/NEWS-20070904
and for fixed bugs:
On darwin-i386, additional patches are needed to fix problems in the gcc-back-end. See the attached diff for gcc-4.1.2.
The snapshot builds without problems on i386-darwin with gcc-4.1.2.
[p17:~/gpc/gpc-20070904/gcc-4.1.2-test] adriaan% gpc -v Using built-in specs. Configured with: ../gcc-4.1.2/configure --enable-languages=pascal,c --enable-threads=posix --target=i386-apple-darwin8 --host=i386-apple-darwin8 --build=i386-apple-darwin8 --prefix=/Developer/Pascal/gpc412d1 --with-arch=pentium-m --with-tune=prescott Thread model: posix gpc version 20070904, based on gcc-4.1.2
The testsuite results are as follows:
[p17:~/gpc/gpc-20070904/gcc-4.1.2-test] adriaan% make rm -f *.dat *.o *.s *.i *.gpi *.gpd *.gpc core a.out stderr.out *.exe testmake.tmp dummy.c dummy.pas dummy.out diff_cr*.tmp fixcr fixcr.exe rm -f todo/a.out todo/*.exe todo/*.o todo/*.s todo/*.i todo/*.gpi todo/*.gpd todo/core GP= PC="gpc" PFLAGS=" --autobuild -g -O3 -W -Wall -Wno-unused " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" -d Test Run By adriaan on 2007-09-04 16:14:45 Native configuration is i386-apple-darwin8 (p17)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: agettexttest.pas UNSUPPORTED: aregextest.pas FAIL: fjf1102.pas UNSUPPORTED: fjf165a.pas FAIL: fjf322.pas FAIL: fjf403b.pas FAIL: fjf563e.pas FAIL: fjf587b.pas UNSUPPORTED: gmptest.pas FAIL: prep2p.pas FAIL: systemtest.pas
=== gpc Summary ===
# of tests 5111 # of expected passes 5099 # of unexpected failures 7 # of unsupported tests 5
gpc version 20070904, based on gcc-4.1.2
When compared to http://www.gnu-pascal.de/crystal/gpc/en/mail13558.html?pos=41521099#41521099 this fixes
FAIL: fjf395a.pas FAIL: fjf395b.pas FAIL: fjf779a.pas FAIL: fjf779b.pas FAIL: fjf779e.pas FAIL: fjf779f.pas FAIL: fjf779g.pas FAIL: fjf998r.pas FAIL: nicola4c.pas
Regards,
Adriaan van Os