首页 > 技术文章 > go build 时报错 cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

tugeler 2016-11-28 16:39 原文

最近在玩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.

推荐阅读