Frank,
I have uploaded a new beta version of GPC to http://www.gnu-pascal.de!
Builds and runs on Mac OS X. The testsuite passes, apart from known Mac OS X problems.
--
[G4:gcc/p/test] adriaan% make PC=gpc335d2 EXTRA_PFLAGS=--longjmp-all-nonlocal-labels 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 PC="gpc335d2" PFLAGS=" --autobuild -g -O3 -W -Wall -Wno-unused --longjmp-all-nonlocal-labels " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused --longjmp-all-nonlocal-labels " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" -d Test Run By adriaan on 2004-12-19 12:39:59 Native configuration is powerpc-apple-darwin (G4.local.)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: agettexttest.pas UNSUPPORTED: aregextest.pas UNSUPPORTED: asmtest.pas UNSUPPORTED: fjf165a.pas UNSUPPORTED: gmptest.pas UNSUPPORTED: longr2.pas FAIL: nonloc2goto.pas FAIL: nonloc4goto.pas FAIL: systemtest.pas
=== gpc Summary ===
# of tests 4112 # of expected passes 4102 # of unexpected failures 3 # of unsupported tests 7
gpc335d2 version 20041218, based on gcc-3.3.5
--
I used the gcc-3.3.4.diff, which applies, apart from one hunk. I looks as if this hunk is no longer needed with gcc-3.3.5.
*** gcc/emit-rtl.c.orig Wed Dec 10 18:37:18 2003 --- gcc/emit-rtl.c Sun Oct 24 11:26:55 2004 *************** *** 301,309 **** --- 301,313 ---- if (alias == 0 && expr == 0 && offset == 0 && (size == 0 || (mode != BLKmode && GET_MODE_SIZE (mode) == INTVAL (size))) + #ifndef GPC && (align == BITS_PER_UNIT || (STRICT_ALIGNMENT && mode != BLKmode && align == GET_MODE_ALIGNMENT (mode)))) + #else + && (align == MEM_ALIGN0 (mode))) + #endif return 0;
attrs.alias = alias;
Regards,
Adriaan van Os