On Sep 4, 2007, at 8:09 AM, Adriaan van Os wrote:
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.
[snip]
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.
Using Adriaan's attached diff for the additional patching, the snapshot also builds without problems on powerpc-apple-darwin8 with gcc-4.1.2.
gale-paepers-power-mac-g5:~/GPC_Build/GPCBuild412 grp$ gpc -v Using built-in specs. Configured with: ../gcc-4.1.2/configure --enable-languages=pascal,c -- enable-threads=posix --target=powerpc-apple-darwin8 --host=powerpc- apple-darwin8 --build=powerpc-apple-darwin8 --prefix=/Developer/ Pascal/gpc412d1 Thread model: posix gpc version 20070904, based on gcc-4.1.2
The testsuite results are as follows:
The powerpc-apple-darwin8 testsuite results were similar to the results Adriaan got with his i386-darwin build with the exception of two additional unsupported tests and one additional test failure:
gale-paepers-power-mac-g5:~/GPC_Build/gpc-20070904/p/test grp$ 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 grp on 2007-09-05 12:59:04 Native configuration is powerpc-apple-darwin8 (gale-paepers-power-mac- g5.local)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: agettexttest.pas UNSUPPORTED: aregextest.pas UNSUPPORTED: asmtest.pas FAIL: fjf1102.pas UNSUPPORTED: fjf165a.pas FAIL: fjf322.pas FAIL: fjf403b.pas FAIL: fjf563e.pas FAIL: fjf587b.pas FAIL: fjf998r.pas UNSUPPORTED: gmptest.pas UNSUPPORTED: longr2.pas FAIL: prep2p.pas FAIL: systemtest.pas
=== gpc Summary ===
# of tests 5111 # of expected passes 5096 # of unexpected failures 8 # of unsupported tests 7
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
[snip]
FAIL: fjf998r.pas
That test is still failing with a powerpc-apple-darwin8 build.
Gale Paeper gpaeper@empirenet.com