How can I build Berkeley DB for MinGW?
Follow the instructions in Building for UNIX/POSIX, and specify the –enable-mingw option to the configuration script. This configuration option currently only builds static versions of the library, it does not yet build a DLL version of the library. • The test suite hangs under Windows. There are bugs in some versions of Tcl that may cause the test suite to hang on Windows (specifically, we’ve seen hangs on Windows/NT 4.0). If you want to run the test suite against a Debug version of Berkeley DB, you need to build a Debug version of Tcl, which requires building Tcl from source.