Subject: Re: cross-compiler
To: Andrea Franceschini <andrea@cs.tin.it>
From: Eduardo Horvath <eeh@turbolinux.com>
List: port-sparc64
Date: 09/01/2000 10:34:14
On Fri, 1 Sep 2000, Andrea Franceschini wrote:

> Thank you for the info.
> 
> After some hacking i succedded in compiling the compiler and all the
> binutils,but the assembler is still unable to assemble sparc64
> code even if it was compiled without error using sparc64 as target.
> 
> When i try to launch assembler i got :
> 
> Assembler messages:
> FATAL: Can't create a.out: Invalid bfd target
> 
> In otherhand using sparc version all works fine...
> So i'm wondering if the sparc64 support in binutils is working ....
> ANd ,if not, where can i find a working assembler for sparc64?

gas (binutils) need to be for a sparc64 target or have
the --enable-64-bit-bfd (or something similar) option or gas will not
recognize SPARC V9 instructions.  In addition, you need to tell gas
explicitly to handle V9 instructions or it will refuse and complain.

Eduardo Horvath