weird limitation on the system's binutils
Kostik Belousov
kostikbel at gmail.com
Sat Jul 1 12:20:20 UTC 2006
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060701/0b16235a/attachment.pgp
More information about the freebsd-current
mailing list