ld: Pulling in archive members from libraries

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ld: Pulling in archive members from libraries

Shaun Jackman
Does ld offer a verbose mode where it explains which undefined symbol
caused it to link in a member from a library archive?

Please cc me in your reply. Thanks!
Shaun
Reply | Threaded
Open this post in threaded view
|

Re: ld: Pulling in archive members from libraries

Daniel Jacobowitz-2
On Wed, Dec 14, 2005 at 02:08:48PM -0700, Shaun Jackman wrote:
> Does ld offer a verbose mode where it explains which undefined symbol
> caused it to link in a member from a library archive?

Please see the ld manual.  Both --verbose and -Map may be helpful,
especially the latter.

--
Daniel Jacobowitz
CodeSourcery, LLC
Reply | Threaded
Open this post in threaded view
|

Re: ld: Pulling in archive members from libraries

Shaun Jackman
2005/12/14, Daniel Jacobowitz <[hidden email]>:
> On Wed, Dec 14, 2005 at 02:08:48PM -0700, Shaun Jackman wrote:
> > Does ld offer a verbose mode where it explains which undefined symbol
> > caused it to link in a member from a library archive?
>
> Please see the ld manual.  Both --verbose and -Map may be helpful,
> especially the latter.

Thanks, Daniel. `man ld' is indeed your friend. `ld -M` is exactly
what I was looking for.

Cheers,
Shaun