How do I link to a shared lib without having that lib's dependencies (the way MS link does)

Richard Henderson rth@redhat.com
Tue Aug 12 18:12:00 GMT 2003


On Tue, Aug 12, 2003 at 09:44:28AM -0700, Ian Lance Taylor wrote:
> I think this is a bug.  The GNU linker is reporting an error where it
> should report a warning.

Eh, maybe.  If the user had used -rpath-link, as prompted,
ld would have found libB.so from libA.so's dependencies.

I don't think downgrading this to a warning is a good idea.
Too often it will be ignored.


r~



More information about the Binutils mailing list