Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: "Randall Hyde" <randyhyde@xxxxxxxxxxxxx>
- Date: Fri, 15 Apr 2005 05:16:25 GMT
"Beth" <BethStone21@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%Zm7e.21456$il.13411@xxxxxxxxxxxxxxxxxxxxxxx
>
> 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...
???
Are you sure? I definitely remember reading some stuff about "weak binding"
in the PE file format some time back. Useful for linking in floating point
code, but not actually including the code unless there was an actual call to
a specific floating point routine. This allowed you, for example, to use a
function like printf without linking every numeric (other other) conversion
routine known to man.
>
> 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"?
Couldn't say. I looked into all this stuff many years ago, but haven't
messed with it since. Try looking up "weak binding" or "weak external
linkage" or something along those lines involving "weak" and see what you
come up with.
Cheers,
Randy Hyde
.
- Follow-Ups:
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: Beth
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- From: arargh504NOSPAM
- 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
- From: Beth
- Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- Prev by Date: Re: To Frank
- Next by Date: Re: Linux, X, ld, gcc, linking, shared libraries and stuff
- 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):