Re: Linux, X, ld, gcc, linking, shared libraries and stuff



T.M. Sommers wrote:
> Frank Kotler wrote:
> > I
> > would expect a complaint from ld about an "unresolved
> > external".
>
> If the linker is using lazy binding, as it probably is, the
> symbols won't be looked for until needed.

Ah, yes...I _have_ been using Windows too long...and completely forgot
about the possibility of "lazy binding" in all of this because Windows
doesn't have that one...

Though, surely, if it were a case of "lazy binding", though LD wouldn't
complain, true enough, then we should surely still be getting a complaint
at run-time, when the "libc" code tries to access "errno"?

Beth :)


.