Cgo + Windows + mingw-w64:“对不起,未实现:未在64位模式下编译”

While trying to install suapapa/go_sass on windows 8.1 with the command :

go get github.com/suapapa/go_sass

I came across this error :

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

According to stackoverflow and other forums, this problem comes from the fact that i don't have the right mingw version (correct me if i'm wrong). My go version is 1.3.3 windows/amd64.

So i tried installing a 64 bit version of gcc that i found on http://tdm-gcc.tdragon.net/.

I still can't seem to go get the package i want to install. Any help ? I'm not familiar with c compilers at all.

In the installation process of mingw-64,you should select Architecture "i686" as I did. If so, the architecture "x86_64" should work.