[gnutls-dev] Re: gnutls 1.2.8 and mingw32
gareuselesinge at users.sourceforge.net
Mon Oct 24 14:12:05 CEST 2005
On Mon, Oct 24, 2005 at 01:46:19PM +0200, Simon Josefsson wrote:
> Enrico Tassi <gareuselesinge at users.sourceforge.net> writes:
> > I've few problems in cross-compiling gnutls 1.2.8.
> Thanks! After fixing the problems, did the resulting GnuTLS build
> work? I.e., if you built the "anonself" self test, did it work if you
> copied it to a Windows machine?
I've not tried the anonself test, but I use libcurl on the win32 port
of FreePOPs (http://www.freepops.org) and they seem to work fine.
A benefit is that the curl.exe (and freepopsd.exe) now run fine
with wine (while there were errors with open-ssl) and I downloaded an
https:// link using wine and curl.exe.
We hope to release soon a new version of FreePOPs based on
libcurl-gnutls and then we will have a feedback from the users
(even if only a small part of FreePOPs plugins use https://).
> Did you see the thread "Build gnutls on windows" on help-gnutls? It
> seems mingw32 is not a POSIX compatible platform, so even if you
> manage to get things to link, the POSIX functions "send", "recv" etc
> may not behave as expected. In particular, they supposedly doesn't
> set errno. I think we could solve all of these problems through
> gnulib modules, but it may be quite some work. Compare "plibc", a
> POSIX layer for mingw32. I believe GnuTLS require POSIX behavior in a
> few other places too.
I'll have a look ASAP
More information about the Gnutls-devel