你可以尝试一下将源代码重新编译为共享对象。 此可以帮助您确保代码确实可移植后开始使用。
编辑
这里是另一个链接,可以帮助您指导使用GCC和其他部分创建共享库的过程GNU工具链。 此链接将帮助您发现其他人在进行与此类似的项目时遇到的错误。
只有如此特殊的任务可以提供如此多的帮助,特别是有这么多未知数。如果您选择在您的问题中提供更多信息,请发表评论。
NB :我正在拉出这些链接。
Can any one of you help me in converting an windows dll file in a .so file.
解决方案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.
更多推荐
将.DLL转换为.SO
发布评论