I thought that the "main" executable being produced by winegcc was just a script that called wine with "main.exe.so"? This seems to be the case, as attempting to run "wine main" fails (Module not found), and running "wine main.exe.so" produces exactly the same results as running "./main" did.
On Wed, Dec 24, 2008 at 6:54 PM, Vitaliy Margolen wine-devel@kievinfo.com wrote:
Just using "winegcc" is not enough. You have to run it with Wine: http://forum.winehq.org/viewtopic.php?t=3177