Måns Rullgård wrote:
David Schleef <[EMAIL PROTECTED]> writes:
Symbol references are not necessarily resolved at that time, unless
you define LD_BIND_NOW or are using prelinking. There's really no
method of doing "lazy linking" as you suggest with C, since it would
either fail (such as with global variables in libraries) or be
required to violate the ISO standard, such as taking the address of
a function.
There is no requirement that the linker be written in C, or that it
follow any standard whatsoever as long as the interface and operation
visible to applications is as expected.
Surely this is to be read "There's really no method of doing 'lazy
linking' as you suggest [of programs written in] C", rather than
"There's really no method of doing 'lazy linking' as you suggest [using
a linker written in] C"?
As we all know, any TC language can be converted into any other TC
language. It doesn't matter to the operation of the linker which
language it's written in.
--
Lewis Jardine
IANAL IANADD