This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross-assembling for AIX/PowerPC64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]