Ok, I was able to successfully compile and install pike from mingw + msys.
Here are the steps:
compile gmp as usual:
./configure make make install
untar nettle-1.12.tar.gz untar nettle-1.12.ptar.gz
set env variables:
CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" export CFLAGS LDFLAGS
compile nettle:
./configure --disable-assembler make make install
compile pike 7.7:
./configure make make install
This seems to work just fine, so now I need to look at modules. It's not clear to me whether the generated module.so files are compatible with the standard windows version of pike and vice versa, as the mingw version doesn't seem to have load_module().
Bill