LibGCrypt under Win32 (MinGW)

Paul Hampson
Thu, 20 Feb 2003 02:02:06 +1100

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

(Please CC me, I'm not subscribed to the list. Thankyou.)
(Sorry for the delayed cross-post, the libgcrypt announcement
was on and I only just noticed the
existence of

A quick question, is there a reason the build-dll and build-def
scripts aren't included in libgcrypt-1.1.12.tar.gz?

Also, is anyone else out there compiling libgcrypt under Win32?

I've got a patch to submit (#include <winioctl.h> in cipher/rndw32.c
to check whether this is a peculiarity of MinGW compared to
whatever other people are using. (eg Visual C++, Cygwin, whatever else)

Also, src/benchmark.c won't build because MinGW doesn't include
sys/times.h. Apparently when it used to, it just did a #include
<time.h>. However this isn't sufficient for benchmark.c's needs.

To me, the best solution to that would be to add a check for sys/times.h
to and not build src/benchmark$(EXEEXT) if we don't have
it. It seems that is what has been done for other programs which have
hit this problem in MinGW.

(Obviously, if someone can point me at a win32/MinGW library and
header set for those timing things in sys/times.h then I'll leave
it alone, and use that instead.)

Paul "TBBle" Hampson, MCSE
5th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.

This email is licensed to the recipient for non-commercial
use, duplication and distribution.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.1 (GNU/Linux)