How can I check how dynamic linking is acheved on my system? And what restrictions are placed on dynamically linked code. What requirements are placed on code for it to be dynamically linked?
+1
A:
It almost looks like you are asking if there is any portable way to check on your OS capabilities, regardless of what the OS is.
The only thing like that which can be said is, "Read the documentation".
For the OS'es I know about, Windows uses DLLs for dynamic linking, and Unixes use .so
files. Both provide the capability to either manually or automaticly load the library's entry points.
T.E.D.
2010-04-12 12:48:23
or even more comprehensive would be to `<sadism>` *read the `libtool` sources* `</sadism>`.
honk
2010-04-12 12:51:34
Remember that DLLs are not portable across OS's. A Windows DLL will not work on a Unix or Linux OS.
Thomas Matthews
2010-04-12 16:40:27