开发者

How to get unix executable form of .a library?

I have a library which i want to use in my iphone project which uses cpp files as well ... in order to do so i need the unix executable form o开发者_JAVA技巧f .a file..>?


You need to write a program of your own with a main function which uses the functions in the library you want to use. The library doesn't contain any code to exercise its own functions (I won't reiterate what @Steve-o already wrote in the comment -- took the words out of my mouth). It is fairly common for the source code of a library to include a simple demo program, but this is rarely distributed with the binary library.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜