PATCH: Remove dependency on libiberty from libbfd.so.

H . J . Lu hjl@lucon.org
Fri Oct 19 09:48:00 GMT 2001
On Fri, Oct 19, 2001 at 10:32:24AM -0400, DJ Delorie wrote:
> 
> > I don't want the dependency on libiberty in libbfd.so.
> 
> You'll have to explain this better.

I have applications which want to dlopen libbfd.so. Also you don't
know which libiberty.a will be used when both gcc and binutils come
with a libiberty.a.


> 
> > Here is a hack I come up with.
> 
> Definitely a hack.
> 
> > It works with and without shared library enabled. Any comments?
> 
> It looks extremely fragile and platform-dependent to me.

That is why it is called hack. I guess we can do something like gcc
where symlinks are made from libiberty.


H.J.



More information about the Binutils mailing list