Gale Paeper wrote:
Using Adriaan's attached diff for the additional patching, the snapshot also builds without problems on powerpc-apple-darwin8 with gcc-4.1.2.
Interestingly, thanks to the PowerPC emulator built-into Mac OS X on Intel Macs, we can also test the PowerPC cross-compiler hosted there.
[p17:~/gpc/gpc-20070904/gcc-4.1.2-test] adriaan% uname -a Darwin p17 8.6.2 Darwin Kernel Version 8.6.2: Thu Apr 13 18:48:29 PDT 2006; root:xnu-792.9.59.obj~1/RELEASE_I386 i386 i386
/Developer/Pascal/gpc421d1/bin/powerpc-apple-darwin8-gpc version 20070904, based on gcc-4.1.2 [p17:~/gpc/gpc-20070904/gcc-4.1.2-test] adriaan% /Developer/Pascal/gpc421d1/bin/powerpc-apple-darwin8-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=i386-apple-darwin8 --build=i386-apple-darwin8 --prefix=/Developer/Pascal/gpc421d1 --with-ld=/usr/bin/ld --with-as=/usr/bin/as Thread model: posix gpc version 20070904, based on gcc-4.1.2
[p17:~/gpc/gpc-20070904/gcc-4.1.2-test] adriaan% make PC=/Developer/Pascal/gpc421d1/bin/powerpc-apple-darwin8-gpc 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="/Developer/Pascal/gpc421d1/bin/powerpc-apple-darwin8-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-06 10:54:21 Native configuration is powerpc-apple-darwin8 (p17)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: agettexttest.pas UNSUPPORTED: aregextest.pas FAIL: 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 FAIL: gpcutiltest.pas UNSUPPORTED: longr2.pas FAIL: prep2p.pas FAIL: systemtest.pas
=== gpc Summary ===
# of tests 5111 # of expected passes 5095 # of unexpected failures 10 # of unsupported tests 6
Apparently, asmtest.pas and gpcutiltest.pas are getting confused by this setup.
FAIL: asmtest.pas ./asmtest.pas: In procedure `I_am_happy_because': ./asmtest.pas:50: error: impossible constraint in 'asm' failed
FAIL: gpcutiltest.pas Error in Str2Real #2
Regards,
Adriaan van Os