C ++ static library - how to create a .a file from .lib?

I downloaded the open source C ++ library. The problem is that this is an object library ( .lib) file . This is how it spreads. On the other hand, I am trying to use it as a static library using the Android NDK, and this expects a file .a. These have been the years since I used C ++, so maybe someone can clarify this. Not quite sure why they spread like .libvs. .afile? And how can I create a file .afrom .libone?

+5
source share
1 answer

See the command arfrom binutils:

ar rcs mylib.a mylib.lib
+6
source

All Articles