FreeBSD 4.6 - binutils 2.14 installs useless libbfd

H. J. Lu hjl@lucon.org
Fri Sep 12 17:38:00 GMT 2003


On Fri, Sep 12, 2003 at 10:22:41AM -0700, Ian Lance Taylor wrote:
> 
> We need to either install libbfd, or link statically.  I think
> distributions prefer to use dynamic linking to save space.

It is what we are doing today, at least on Linux. There are no
libbfd.so nor libopcodes.so if binutils.spec is used:

rm -f ${RPM_BUILD_ROOT}%{_prefix}/lib/lib{bfd,opcodes}.{la,so}

> 
> I suppose we could install libbfd in a hidden directory and use
> -rpath, but it seems like a lot of trouble.

We already do that for cross binutils.


H.J.



More information about the Binutils mailing list