views:

83

answers:

1

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.
or even more comprehensive would be to `<sadism>` *read the `libtool` sources* `</sadism>`.
honk
Remember that DLLs are not portable across OS's. A Windows DLL will not work on a Unix or Linux OS.
Thomas Matthews