Quoted from a reply to a post
3.The calling module will then either statically or dynamically bind to the shared library.
4.Once your calling library is bound to the shared library it can then specify it wants to bind to a particular entry point. This is generally done by name, however most platforms also offer the option of binding by index (faster, yet more brittle if your module changes and entry points are reordered).
5.You will also generally declare the function you want to call in your module somewhere so that your language can do static type checking, knows what the calling convention is etc.
I was wondering
- what does "a module statically or dynamically binds to the shared library" mean? Does it mean name binding, i.e. association of identity in some module to objects (code or data) in the shared library, or linking from some module to the share library?
- Where I can find a more wikipedia-like description on binding by name and by index?
Thanks and regards!