Re: weird limitation on the system's binutils

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Sat, 1 Jul 2006 15:20:05 +0300
On Sat, Jul 01, 2006 at 12:09:08AM -0400, Mikhail Teterin wrote:
> Hello!
> 
> I'm wondering, why the bfd and related bits and pieces of binutils are built 
> to support only the architecture(s), that can natively run on the system?
> 
> Why can't I use gdb or objdump on FreeBSD/i386 to analyze a core file, or a 
> binary from another FreeBSD or even from a non-FreeBSD system?
> 
> The tools themselves support that. The sources (bfd-vectors) for all other 
> supported architectures are part of the tree (under contrib/). So, why not 
> build them?

AFAIK, binutils can only support one architecture per invocation of
configuration scripts. I.e., you cannot have one gas binary that would
provide both i386-elf and hppa-som targets. Correct me, if I'm wrong.

Received on Sat Jul 01 2006 - 10:20:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC