Converting .DLL to .SO

ぐ巨炮叔叔 提交于 2019-12-07 02:23:59

问题


Can any one of you help me in converting an windows dll file in a .so file.


回答1:


You might try re-compiling the source code to the dll to a shared object. This may help you get started, after ensuring the code is indeed portable.

Edit:

Here is yet another link that can help guide you through the process of creating a shared library using GCC and other parts of the GNU tool chain. This link will help you to discover pitfalls that other people had when undertaking a project similar to this.

There is only so much help that can be provided for such a specific task, especially with so many unknowns. If you elect to provide more information in your question, please leave a comment.

NB: I'm pulling these links right out of Google.




回答2:


You need to recompile again into an .so file.




回答3:


If you don't have the source, or can't recompile, you may be able to run the code under Wine.



来源:https://stackoverflow.com/questions/1641585/converting-dll-to-so

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