Mac creating simple dylib?

﹥>﹥吖頭↗ 提交于 2019-12-11 19:28:03

问题


I need to create a dylib using XCode for my client. The dylib will have only two function start, and stop. The people i m making this for use mono and they will call this dylib. How can I create this? Thanks.


回答1:


Xcode has project templates for Cocoa, C++ and C dynamic libraries. Just create one of these and add you functions to it.



来源:https://stackoverflow.com/questions/6408725/mac-creating-simple-dylib

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!