Do you know how to share a global variable in a shared library ?
I got a problem with that. I declare in my header file
int a;
And I will use it in some C file than I will compile as a shared library. But the update of A in the files seems to not be shared and the variable's change are not effective.
I read in some post that is because the data segment isn't shared, but, I need it. Have you an idea of how do that ?
Thanks!