It's not that easy, that approach doesn't take C++ static constructors
into account, nor the address space manipulation that takes effect.
It is possible to allow people to start winelib apps like "./foo" but
hardly a big deal. You need to have a program which does:
(pseudocode)
int main(int arg
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
int main(void)
{
return (int) WinMain(NULL, NULL, NULL, NULL);
}
Then link it with the EXE encapusulated in a .so, a