The gpc -m32 and -m64 now automatically work. Couldn't be better.
Running the 64-bit testsuite.
[P18:gcc/p/test] adriaan% make EXTRA_PFLAGS=-m64 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 -m64 " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused -m64 " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" -d Test Run By adriaan on 2011-06-23 20:56:49 Native configuration is i386-apple-darwin9 (P18)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: agettexttest.pas UNSUPPORTED: aregextest.pas FAIL: fieldw.pas FAIL: fjf1102.pas UNSUPPORTED: fjf165a.pas FAIL: fjf23.pas FAIL: fjf30b.pas FAIL: fjf403b.pas FAIL: fjf563e.pas FAIL: fjf787.pas FAIL: fjf848a.pas FAIL: fjf848b.pas FAIL: fjf848c.pas UNSUPPORTED: gmptest.pas FAIL: mir047h.pas FAIL: prep2p.pas FAIL: systemtest.pas FAIL: writeb.pas FAIL: writec.pas FAIL: writee.pas FAIL: writeg.pas
=== gpc Summary ===
# of tests 5111 # of expected passes 5089 # of unexpected failures 17 # of unsupported tests 5
Failures specific for 64-bit are
FAIL: fieldw.pas failed (Foo)
FAIL: fjf23.pas ./a.out: value out of range (error #300 at 1000017be)
FAIL: fjf30b.pas failed 2
FAIL: mir047h.pas O./test_run: line 204: 35643 Segmentation fault ./"$A_OUT" "$1"
FAIL: writeb.pas Run #2: LongInt `-7890123456789012345' was not indented, but should be. Run #2: LongInt `12345678901234567890' was not indented, but should be. Run #2: LongInt `-7890123456789012345' was not indented, but should be. Run #2: LongInt `12345678901234567890' was not indented, but should be. Run #3: LongInt `-7890123456789012345' was indented with field width 21, but should be with field width 44. (etcetera)
Regards,
Adriaan van Os