This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: How do I link to a shared lib without having that lib's dependencies (the way MS link does)
- From: Richard Henderson <rth at redhat dot com>
- To: binutils at sources dot redhat dot com, dave-gnus at bfnet dot com
- Date: Tue, 12 Aug 2003 11:12:54 -0700
- Subject: Re: How do I link to a shared lib without having that lib's dependencies (the way MS link does)
- References: <m38ypz1udy.fsf@bfnet.com> <m38ypybzbn.fsf@gossamer.airs.com>
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~