go build 时报错 cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

最近在玩Go

win下尝试编译Go的时候遇到了下面提示(可能是gorocksdb用到了gcc)

gcc也需要64位的  

最后找到了个帖子:

https://github.com/mattn/go-sqlite3/issues/77

其中最关键的是这句

For a smooth win64 build experience I recommend using http://tdm-gcc.tdragon.net/ (the 64 bit version) instead.

原文地址:https://www.cnblogs.com/tugeler/p/6110174.html