If I compile static libraries that end up in a shared object, when is
this not safe? I understand if the system generates code differently
for the two situations, then it is necessary. Can someone point out to
me which platforms one should do this on?
My *real* requirements are this:
0) Need to unit test
1) Need to unit test same code that is shipped (compiled into a shared
2) Need to use linker script to export the minimal set of public
The end result *is* a shared object that will be loaded in a plugin
manner. Now if I use a shared object to unit test, I cannot test all of
the code *because* this project also needs to run on Windows (yeah...)
On Windows, for shared objects, all symbols are private unless
So you can see my dilemma (I hope). What would you suggest?
||1/25/2007 5:37:42 AM