Date: Wed, 5 Jul 2006 11:42:27 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-current@freebsd.org Cc: Peter Jeremy <peterjeremy@optushome.com.au>, Mikhail Teterin <mi+kde@aldan.algebra.com> Subject: Re: weird limitation on the system's binutils Message-ID: <200607051142.28352.jhb@freebsd.org> In-Reply-To: <200607011508.27920@aldan> References: <200607010009.09231@aldan> <20060701115508.GC8447@turion.vk2pj.dyndns.org> <200607011508.27920@aldan>
index | next in thread | previous in thread | raw e-mail
On Saturday 01 July 2006 15:08, Mikhail Teterin wrote: > On Saturday 01 July 2006 07:55, Peter Jeremy wrote: > = IMHO, the FreeBSD base system should provide tools for doing native > = development - anything beyond that belongs in ports. Given that > = binutils supports quite an extensive range of targets (of the order of > = 100), building them all is impractical and a waste of resources for > = virtually everyone who uses FreeBSD. > > I would agree with this myself, except that anything in the ports would have > to _duplicate_ or replace the system one. All of it -- not even just bfd -- > because it is all linked statically. Yes, this is normal behavior for ports that install things like alternative versions of gcc. > > libbdf.a is built by /usr/src/gnu/usr.bin/binutils/libbfd/Makefile. > > That should be a fairly simple change to arrange for it to build and > > install the .so as well. > > Installing both libbfd-s certainly would be a good start... As things stand, > every port needing it -- including various different compilers -- builds it > own version. This is, largely, explained by the GNU's stupidity of bundling > a different version with each tool (gdb, compiler), but the bundled bfds are > not THAT incompatible, and the system-installed version can include the > compatible superset... Actually, in the past this has proven quite difficult, hence the current arrangment of various tools linking statically against their own private copy. -- John Baldwinhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607051142.28352.jhb>
