With this small patch, gdbmhash works on MinGW.
$ perl t/harness t/dynclass/gdbmhash.t
All tests successful.
Files=1, Tests=13, 5 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
the patch is applied, and thinks look OK under Linux as well.
Do you have an explaination why config/auto/gdbm.pl seems to see a gdbm
library. I don't see 'gdbm3' mentioned there. Is the linker in MinGW
smarter than Parrot_load_lib() ?
/* Bernhard.S...@gmx.de */
I use a binary distribution available on http://gnuwin32.sourceforge.net/
This distribution contains :
lib/libgdbm.lib (import library used by the linker)
bin/gdbm3.dll (used at run time)
config/auto/gdbm.pl produces a small executable (so check the availability
of gdbm.h and libgdbm.lib).
This small executable loads automatically DLL (gdbm3.dll) as usually on Win32.
And I think that parrot loads manually DLL with Parrot_load_lib().