Sorry, but I don’t understand what exactly your problem is.
.a files are meant to be (statically) linked to your application, what do you mean for "does not remain accessible"? Accessible for what?
In any case, you can build the library as a shared one
Sorry, but I don’t understand what exactly your problem is.
.a files are meant to be (statically) linked to your application, what do you mean for "does not remain accessible"? Accessible for what?
In any case, you can build the library as a shared one