I've been playing around with getting pike to compile under mingw, and the first attempt went pretty well, though dynamic loading was disabled. I fiddled with the configure script and managed to get dynamic loading enabled, but I'm having problems with actually compiling modules. I can't seem to figure out how to get the modules to link. I'm using the ld shipped with mingw, and unless I use -r (which I'm pretty sure isn't right, as i get an invalid link type error when I try to use the resulting so file), I get undefined symbols pointing to all of the pike functions. The pntld doesn't seem to want to work, either; it just outputs a 20 byte file, though I'm thinking there might be a simple fix, as it happily will generate a file with the -a option provided.
Any thoughts or suggestions?
Bill