Alright, I installed mingw on my linux box and test-compiled an exe which ran ok. I took the original markov makefile and simply changed all the ".pd_linux" to ".dll", and changed the gcc call to i386-mingw32-gcc. This gave me a dll without errors: however, trying to load it in pd gives:
C:\WINDOWS\DESKTOP\PD-0.38-4\PD-0.38-4-DEVEL-2\extra\markov.dll: couldn't load markov ... couldn't create
The "couldn't load" error tells me that it's seeing the file correctly, it just can't handle it.
Looking at other pd makefiles, they're calling "cl" and "link" to generate the .dll, but they're not part of mingw.
Am I missing something?
-Chris