mingw-builds-binaries icon indicating copy to clipboard operation
mingw-builds-binaries copied to clipboard

`-mwindows` unrecognised emulation mode: windows

Open jredfox opened this issue 1 year ago • 0 comments

Error: C:/Compilers/mingw32/bin/../lib/gcc/i686-w64-mingw32/13.2.0/../../../../i686-w64-mingw32/bin/ld.exe: unrecognized emulation mode: windows

Steps to reproduce:

  • Download and install latest version of MingW x86 to be compatible with both x64 and arm64 and set the environment path
  • Download and install eclipse
  • Eclipse --> Help --> Install New Software --> All Sites
  • Sel: Autotools Support, Dev Tools, Dev Tools SDK
  • Restart Eclipse
  • New Project --> MingW and Hellow world selected
  • Project --> Properties --> C++ BUILD --> MingW C++ Linker
  • Add the fallowing -mwindows
  • Try and compile the hellow world project and watch the error happen.

jredfox avatar Oct 18 '23 18:10 jredfox