Date: Sat, 1 Jul 2006 15:20:05 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Mikhail Teterin <mi+kde@aldan.algebra.com> Cc: current@freebsd.org Subject: Re: weird limitation on the system's binutils Message-ID: <20060701122005.GC37822@deviant.kiev.zoral.com.ua> In-Reply-To: <200607010009.09231@aldan> References: <200607010009.09231@aldan>
next in thread | previous in thread | raw e-mail | index | archive | help
--9Ek0hoCL9XbhcSqy Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 01, 2006 at 12:09:08AM -0400, Mikhail Teterin wrote: > Hello! >=20 > I'm wondering, why the bfd and related bits and pieces of binutils are bu= ilt=20 > to support only the architecture(s), that can natively run on the system? >=20 > Why can't I use gdb or objdump on FreeBSD/i386 to analyze a core file, or= a=20 > binary from another FreeBSD or even from a non-FreeBSD system? >=20 > The tools themselves support that. The sources (bfd-vectors) for all othe= r=20 > supported architectures are part of the tree (under contrib/). So, why no= t=20 > build them? AFAIK, binutils can only support one architecture per invocation=A0of 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. --9Ek0hoCL9XbhcSqy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEpmh0C3+MBN1Mb4gRAp1uAKCZTXz8j/nC1y0uxIBVk4drVWKqHgCgyZyr gRXmLt9Lgnhu3ipKCNq0A7E= =Piu/ -----END PGP SIGNATURE----- --9Ek0hoCL9XbhcSqy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060701122005.GC37822>