how do I choose between archived and shared libraries in C++

hi,
I am doing C++ coding on a solaris machine.
I am confused about when do I create an archived library and when to create a shared
library. I know that if I create an archived library, I need to compile the executable
every time I change the code that goes into the .a whereas in the case of a .sl or .so file,
I just need to replace the .sl file ( so long I haven't changed a header fle ).

But what is the exact crterion for choosing between the two options ??
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories