https://bugs.winehq.org/show_bug.cgi?id=55292 Bug ID: 55292 Summary: winegcc: Crash when accessing argv[0] when program is built with -mno-cygwin Product: Wine Version: 8.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winecrt0 Assignee: wine-bugs(a)winehq.org Reporter: esteve.varela(a)gmail.com Distribution: --- When a program is built with -mno-cygwin, it crashes straight away when accessing anything in argv: $ echo -e '#include <stdio.h>\nint main(int argc,char *argv[]){printf("%s\\n",argv[0]);}' > test.c $ winegcc -mconsole -mno-cygwin test.c $ ./a.out *loud noise of breaking windows, cats screaming, sirens blaring* Incidentally, this works without -mno-cygwin, but then you have no access to windows CRT functions... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.