[G5:~/gpc/testgpc/adriaan] adriaan% gpc hello.pas -m64 can't find atom for N_GSYM stabs Fakehighletters:G(0,7) in /Developer/Pascal/gpc403d1/lib/gcc/powerpc-apple-darwin8/4.0.3/ libgpc.a(rtsc.o) ld64 failed: in /Developer/Pascal/gpc403d1/lib/gcc/powerpc-apple-darwin8/4.0.3/ libgcc.a(_fixtfdi.o), not a valid ppc64 mach-o file collect2: ld returned 1 exit status
So, next I will try to build a 64-bit libgcc and combine the 32-bit and 64-bit libgcc.a into a "fat" libgcc.a
At least, it says hello to the world when using the system-installed dynamic libgcc. [G5:~/gpc/testgpc/adriaan] adriaan% gpc hello.pas -m64 /usr/lib/libgcc_s_ppc64.1.dylib -o hello64 can't find atom for N_GSYM stabs Fakehighletters:G(0,7) in /Developer/Pascal/gpc403d1/lib/gcc/powerpc-apple-darwin8/4.0.3/ libgpc.a(rtsc.o) [G5:~/gpc/testgpc/adriaan] adriaan% lipo -info hello64 Non-fat file: hello64 is architecture: ppc64 [G5:~/gpc/testgpc/adriaan] adriaan% ./hello64 Hello, world. Great to see this working ! Regards, Adriaan van Os