Runtime error with winelib and CreateMutex()

Ove Kaaven ovehk at
Thu Apr 19 12:29:38 CDT 2001

On Thu, 19 Apr 2001, Jerry Thomas wrote:

> But the final step is to produce a .so file (g++ -shared ...), and the only
> executable produced is
> a soft link to /usr/bin/wine.

Correct. So, in other words, the build works as expected. So, have you
tried to actually start the executable?

> Is there any way to get it to produce an executable?

Maybe, but you don't want to. Apart from the structural equivalence
between DLL and EXE modules in the Windows world (EXEs are just DLLs with
an entry point), there are reasons why the Wine runtime environment must
be setup before the main module (your .so) can even be loaded.

More information about the wine-users mailing list