https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121733
--- Comment #2 from Pali Rohár <pali at kernel dot org> --- Maybe stupid idea, but would not it be possible to undefine INVOKE__main when building gcc for *-w64-mingw32 platform?
pali at kernel dot org via Gcc-bugs Sun, 31 Aug 2025 15:27:07 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121733
--- Comment #2 from Pali Rohár <pali at kernel dot org> --- Maybe stupid idea, but would not it be possible to undefine INVOKE__main when building gcc for *-w64-mingw32 platform?