Apache 为 Windows 和 Linux 提供了共享对象。他们是如何做到的?

发布于 2024-08-19 07:37:18 字数 53 浏览 1 评论 0原文

Apache 有适用于 Windows 和 Linux 的 .so 模块。他们是如何做到的?

Apache have .so modules for both windows and linux.How do they do it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

歌枕肩 2024-08-26 07:37:18

好问题,我怀疑它们仍然是具有不同文件扩展名的动态链接库,但我可能是错的。毕竟文件扩展名并不能保证文件类型。如果Windows SDK中的depends.exe可以解析它们,那么它们就是dll。我从来没有尝试过,现在也不能,我的电脑上不再有 Windows。

编辑:看看这个: http://httpd.apache.org/ docs/2.0/mod/mod_so.html#creating 看起来这只是一个命名约定 - “Apache 仍然加载 .dlls...”

Good question, I would suspect they remain dynamic link libraries with different file extensions but I could be wrong. File extension, is, after all, no guarantee of file type. If depends.exe in the Windows SDK can parse them, they're dlls. I have never tried and now can't, no Windows on my pc anymore.

Edit: looking at this: http://httpd.apache.org/docs/2.0/mod/mod_so.html#creating it looks like it is just a naming convention - "Apache still loads .dlls..."

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文