在Windows上制作mosquitto-auth-plug [英] make mosquitto-auth-plug on windows

查看:334
本文介绍了在Windows上制作mosquitto-auth-plug的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试在Windows上构建mosquitto-auth-plugin,但是我不确定要使用哪个制作过程.医生说编辑完成的config.mk文件,然后制作"身份验证插件-这是我被我试图使用GnWin& MinGW,但都没有奏效,是否有办法在Windows上构建库,还是可以在Linux中创建并将auth-plug.o复制到Windows计算机上?

I am currently trying to build the mosquitto-auth-plugin on windows but I am unsure which make process to use. The doc says to edit the config.mk file which I have done, then to 'make' the auth-plug -- this is were I am struck I have tried to make using GnWin & MinGW but neither has worked is there a way to build-make the library on windows or can I make it in Linux and copy the auth-plug.o to my windows machine?

推荐答案

我不知道有人尝试在Windows上构建mosquitto-auth-plug,如果这完全奏效,我会感到非常惊讶.作为插件的作者,我没有注意Un * x之外的可移植性,为了不抱希望,我不会. :-)

I'm not aware of anybody having attempted to build mosquitto-auth-plug on Windows, and I'd be very surprised if that worked at all; as the author of the plugin, I paid no attention to portability outside Un*x, and so as to not raise hopes, I will not. :-)

也就是说,您不能在Windows的Linux上运行(加载)共享对象.也许有可能,但是自从我做类似的事情以来已经有好几年了,是用合适的工具链进行交叉编译.

That said, you cannot run (load) shared objects built on Linux on Windows. What may be possible, but it's been years since I did anything similar, is to cross compile with an appropriate toolchain.

这篇关于在Windows上制作mosquitto-auth-plug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆