Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: "Beth" <BethStone21@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Apr 2005 05:13:31 GMT
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 :)
.
- Follow-Ups:
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: Randall Hyde
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: T.M. Sommers
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- References:
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: T.M. Sommers
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: Frank Kotler
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: T.M. Sommers
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- Prev by Date: Re: HAY BETOV, why are you so jealous of FASM ?
- Next by Date: Re: Why Bush?
- Previous by thread: Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- Next by thread: Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- Index(es):