mixed compilation



Can you compile an application statically with respect to some
libraries and dynamically with respect to others? It seems like this
should be doable in theory, but I can't find the required GCC options
for that.

On another topic, can one use DLLs to build statically linked
executables? Seems like there should be a way to lift the binary
procedure code out of DLL and plug them into your executables, in
theory. But how can this be done in practice?

.



Relevant Pages