$ i686-w64-mingw32-gcc hello.c $ wine a.exe $ (no output) The problem seems related to the -pie option used by default at the linkage. $ i686-w64-mingw32-gcc -no-pie hello.c $ wine a.exe Hello! hello.c is a standard "hello, world" code: #include <stdio.h> #include <stdlib.h> int main(void) { printf("Hello!\n"); exit(0); }
PS. Just checked under native OS instead of wine - the same.
I guess USE flag "-pie" should be set by default for w32/w64 cross-compilers.
*** This bug has been marked as a duplicate of bug 644930 ***