I was just able to get the character editor compiled against winelib, and yes, it actually works. The makefile needs the following modifications:
CPP = wineg++
CC = wineg++
WINDRES = wrc
Additionally the output filename must not contain any spaces, not even with quotes. There seems to be an upstream bug somewhere that messes things up otherwise.
Also note that there will be a ".exe.so" file that must be in the same directory as the .exe file, with the same name. Changing the names after they're built will make them not work.
But yeah, that's it. I'll see if I can also get