本文主要是介绍cc1.exe: sorry, unimplemented: 64-bit mode not compiled in解决办法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
go环境:go.1.2.windows-amd64
mingw安装是32位。
在用go调C相关的时候,编译报cc1.exe: sorry, unimplemented: 64-bit mode not compiled in.网上查了大部分资料说,需要将mingw32换成mingw64.
You are using 64-bit version of Go. You must use 64-bit gcc compiler.
Which MinGW GCC did you install? From where? Maybe check out:
http://mingw-w64.sourceforge.net/
http://www.drangon.org/mingw/
http://tdm-gcc.tdragon.net/
参考:http://code.google.com/p/go/issues/detail?id=3441
这篇关于cc1.exe: sorry, unimplemented: 64-bit mode not compiled in解决办法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!