Cross-assembling for AIX/PowerPC64
Tristan Gingold
gingold@adacore.com
Fri Jul 25 07:36:00 GMT 2014
On 25 Jul 2014, at 09:22, Jonas Maebe <jonas.maebe@elis.ugent.be> wrote:
> Hi,
>
> I have configured binutils 2.24 using the following configure command (on OS X 10.9):
>
> ../configure --target=powerpc-ibm-aix53 --with-sysroot --disable-werror
>
> The resulting assembler can assemble for AIX/PowerPC (32 bit) fine. However, when I try to assemble for AIX/PowerPC64 with this command:
>
> powerpc-ibm-aix53-as -a64 -u -o ../../rtl/units/powerpc64-aix/ctypes.o ../../rtl/units/powerpc64-aix/ctypes.s -mpwr5
>
> Then I get the following error:
>
> Assembler messages:
> Fatal error: selected target format 'aixcoff64-rs6000' unknown
There is a discrepancy between bfd and gas. Try to configure for powerpc-ibm-aix or hack gas/config/tc-ppc.c
More information about the Binutils
mailing list