From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: joel@OARcorp.com Cc: gas2@cygnus.com Subject: Re: more on powerpc-rtems ar failure Date: Thu, 16 Apr 1998 14:03:00 -0000 Message-id: <199804162103.RAA01380@subrogation.cygnus.com> References: X-SW-Source: 1998/msg00142.html Date: Thu, 16 Apr 1998 15:26:16 -0500 (CDT) From: Joel Sherrill This problem is another -mlittle one. Here is a test case: ------------------ assembly file used to duplicate this ----- .file "j.s" .section ".text" .align 2 .globl f f: blr ----------------------- end of file ../gas/as-new -mlittle -o j.o j.s ../binutils/ar rc j.a j.o ../binutils/ar rc j.a j.o ../binutils/ar: j.a: Invalid operation Was this ar build with --enable-targets=all? It's hard to recommend using such tools for general use. There are too many ambiguities among different object file formats. You should instead spell out the precise set of targets you want to support. Still, ar ought to report a better error message, so there may be something different going on here. However, I can't recreate the problem using an ar configured for powerpc-eabi. Ian