mingw-builds-binaries
mingw-builds-binaries copied to clipboard
`-mwindows` unrecognised emulation mode: windows
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.