[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] How to compile libmicrohhtpd for windows platform
From: |
Michael Lenaghan |
Subject: |
Re: [libmicrohttpd] How to compile libmicrohhtpd for windows platform |
Date: |
Fri, 5 Mar 2010 09:23:42 -0500 |
> I am not getting such problem when I load this library which doesn't have
> ssl support.
Yes; that's because the code uses a gcc constructor on Windows to do
more than initialize memory and synchronization objects. If you want
to use ssl on Windows you'll have to change the code so that the
init/deinit procedures are exported from the dll, and you'll have to
call them at appropriate times. (In fact, I'd suggest doing that no
matter what.)
> How can I compile libmicrohttp code for windows platform?
I posted a message some time ago with reasonably detailed steps for
compiling libmicrohttpd using MinGW.