I *think* I've figured out a way to make regular Unix programs with winelib. My idea is, make winemaker generate a C file called "winelib-wrap.c" that contains:
#include <stddef.h>
int main(void) { return (int) WinMain(NULL, NULL, NULL, NULL); }
Then link it with the EXE encapusulated in a .so, and it SHOULD work. I'll try it on the 01-stdole32.c. It gave me a SIGSEGV, but maybe someone would fix it.
Samuel Lauber