Re: Building LMDB for Windows 64bits

2013-09-29 Thread Alain
Howard, Thanks for the reply. See below On Sat, Sep 28, 2013 at 9:44 PM, Howard Chu h...@symas.com wrote: Alain wrote: I am not an expert at this, so I might be doing things incorrectly. I used Mingw x86_64 to build LMDB (just changed the CC in the Makefile). I had an issue with srandom

Re: Building LMDB for Windows 64bits

2013-09-29 Thread Alain
Howard, First I installed gdb for MinGW64 and I took your advice and added tests for rc in the many calls to start the database. I never got a non-zero return code. And running with gdb I have not been able to reproduce the problem even when running as: while true ; do gdb -ex run mtest -ex quit

Building LMDB for Windows 64bits

2013-09-28 Thread Alain
I am not an expert at this, so I might be doing things incorrectly. I used Mingw x86_64 to build LMDB (just changed the CC in the Makefile). I had an issue with srandom and random in the test programs and switch to rand instead. Now I can build successfully and make test runs mtest successfully.

RE: Building LMDB for Windows 64bits

2013-09-28 Thread Sergio NNX
. Date: Sat, 28 Sep 2013 16:04:35 -0400 Subject: Building LMDB for Windows 64bits From: alpi...@gmail.com To: openldap-technical@openldap.org I am not an expert at this, so I might be doing things incorrectly. I used Mingw x86_64 to build LMDB (just changed the CC in the Makefile). I had

Re: Building LMDB for Windows 64bits

2013-09-28 Thread Howard Chu
Alain wrote: I am not an expert at this, so I might be doing things incorrectly. I used Mingw x86_64 to build LMDB (just changed the CC in the Makefile). I had an issue with srandom and random in the test programs and switch to rand instead. Now I can build successfully and make test runs mtest