Go error reported unimplemented: 64 bit mode not compiled in and MinGW 64 bit installation error res resolved

Front end developers must read! Starting from scratch, teach you to build a low code website platform in stages>>>

Question 1: cc1.exe: sorry, unimplemented: 64 bit mode not compiled in

Reference: https://www.cnblogs.com/lesroad/p/10714367.html , indicating that MinGW needs to install 64 bit

Reference: https://www.cnblogs.com/ggg-327931457/p/9694516.html , download and install MinGW 64, what does each option mean when installing?This blog is very clear

Problem 2: error res is reported when installing mingw-w64-install.exe


Baidu found this problem in mingw-w64 download source bugs (address: https://sourceforge.net/p/mingw-w64/bugs/413/ ), the frequency is very high, patiently look at one by one, and finally see a solution:

Link to https://sourceforge.net/p/mingw-w64/mailman/message/32967954/ It is found that the GCC version is 4.9.1, not according to the default maximum version (8.1.0)


Therefore, the version 4.9.1 is selected for installation. Try the following:


Sure enough, the installation was successful

Configure environment variables, GCC – V test:


Then execute the go command to run perfectly~

Source of the original text: https://www.cnblogs.com/NolaLi/p/10761843.html

Similar Posts: