Passing -a64 is not necessary. It is done for you by FPC itself.However, your current problem seems to be more severe.Its a linker-script problem. This linker-script is generated by FPC.It will be hard to solve this problem (by me).I have a clue, but perhaps somebody else has a better clue.Anyhow.If you want/need my further help, its time to send me the libs somehow.I need to look at the linker problem in detail. And that is only possible (for me) by testing on my own PC.
Sorry about this.
Solved (I hope).I had to patch the GNU binutils (bfd). Your AIX assembler that generated your crt0_64.o uses some section types that were not yet supported by even the latest binutils (2.31.1).Newly compiled binutils are to be found here:https://github.com/newpascal/fpcupdeluxe/releases/download/wincrossbins_v1.0/WinCrossBinsAIXPowerPC.zipThey work for me. I hope that they will work for you too !