Static libraries vs shared Libraries
Hi
I have a third party static library (libSTATIC.a) that I cannot
recompile into a shared library. I want to create
a shared library (libSHARED.so) that uses the C functions in the static
library. Is it possible to do this?
In other words, when linking a C program with gcc by using the -shared flag, is it necessary that all all libraries invoked in the program
(even low level libraries such as libc for example) be available as
shared libraries as well?
Thanks a lot.
|