[zeromq-dev] Another question about building Zeromq on Windows with OpenPGM

Steven McCoy steven.mccoy at miru.hk
Tue Mar 19 15:54:51 CET 2013


On 19 March 2013 10:43, Emmanuel TAUREL <taurel at esrf.fr> wrote:

> While building OpenPGM 5.1.118 (in order to then build Zmq 3.2.2), I
> notice that the libpgm library is generated as a static library but
> compiled
> with the code generation option "Multi Threaded DLL".
> Is there any reason for this? I thought that if you compile a static
> lib, you should not use the DLL code generation option but I am may be
> wrong.
>

The choice is static /MT or dynamic /MD, the latter being relocatable and
the other differences being at the linking stage which is irrelevant to a
static library.  Being able to target DLLs and executables with a single
build is more preferable than a separate library micro-optimised for
non-relocatable code.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130319/a86637c3/attachment.htm>


More information about the zeromq-dev mailing list