[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] Re: Build gnutls on windows
From: |
Simon Josefsson |
Subject: |
[Help-gnutls] Re: Build gnutls on windows |
Date: |
Mon, 19 Sep 2005 23:45:41 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Martin Lambers <address@hidden> writes:
> The copyright assignment process is started.
>
> The patch unfortunately leaves '#include <sys/mman.h>' (line 30) in cli.c.
> This line must be removed. A corrected patch is attached.
Thanks, Martin. The patch is now installed.
> As a test, I changed gl/getpass.h and gl/getpass.c so that it compiles
> on Win32 (and always returns NULL ;)
> After that, a crossbuild with the Debian mingw32 package worked fine! So
> a gnulib getpass module that works for MinGW is all that is missing for
> a successful Win32 build.
Can you test whether:
http://josefsson.org/daily/gnutls/gnutls-20050919.tar.gz
build correctly for you?
> I have one question, though: src/common.h defines socklen_t to int for
> Win32. This is a redefinition since configure previously detected a
> missing socklen_t and then defined it to be size_t in config.h.
> I think the definition in src/common.h (line 11) should be removed, and
> the configure script should always define socklen_t to int. The
> 'NOTE' section in the Linux connect(2) man page says that it was
> historically an int, and Win32 and MacOS X still use int.
I am now using gnulib's socklen module.
> Last, I wrote a simple getpass() version for Win32 (attached). This
> works completely different from the gnulib getpass module since
> - Windows has no /dev/tty concept
> - Windows cannot switch terminal properties (AFAIK).
> I have no idea how something like this could be properly integrated into
> a gnulib module.
I have incorporated it into the gnulib getpass module.
Thanks!
- [Help-gnutls] Re: Build gnutls on windows,
Simon Josefsson <=
- Re: [Help-gnutls] Re: Build gnutls on windows, Martin Lambers, 2005/09/21
- [Help-gnutls] Re: Build gnutls on windows, Simon Josefsson, 2005/09/21
- Re: [Help-gnutls] Re: Build gnutls on windows, Martin Lambers, 2005/09/22
- [Help-gnutls] Re: Build gnutls on windows, Simon Josefsson, 2005/09/22
- Re: [Help-gnutls] Re: Build gnutls on windows, Martin Lambers, 2005/09/23
- [Help-gnutls] Re: Build gnutls on windows, Simon Josefsson, 2005/09/24
- [Help-gnutls] Re: Build gnutls on windows, Simon Josefsson, 2005/09/24