Someone fixed zmq.h in master to accept ZMQ_STATIC. If you are using
zeromq3-x, you could add the relevant changes in.

Then you could do the following:
1) copy builds/msvc/platform.hpp builds/mingw32/
2) cd builds/mingw32
3) gcc -DZMQ_STATIC -DFD_SETSIZE=1024 -c ../../src/*.cpp
4) ar r libzmq.a *.o



On Tue, Jun 25, 2013 at 8:43 PM, Beyer, Marcel <[email protected]> wrote:

> Hello,****
>
> ** **
>
> I am using MinGW as compiler and tried to build ZMQ as a static library
> when I received this error while running configure:****
>
> ** **
>
> “configure: error: Building static libraries is not supported under
> MinGW32”****
>
> ** **
>
> Why is this? Is there an easy way to include the support for MinGW?****
>
> ** **
>
> ** **
>
> This message and attachment(s) are intended solely for use by the
> addressee and may contain information that is privileged, confidential or
> otherwise exempt from disclosure under applicable law. If you are not the
> intended recipient or agent thereof responsible for delivering this message
> to the intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If
> you have received this communication in error, please notify the sender
> immediately by telephone and with a 'reply' message. Thank you for your
> co-operation.
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to