Cgo: sorry, unimplemented: 64-bit mode not compiled in
问题 I'm currently trying to add some C code to my Go project. nothing fancy /* #include <stdio.h> void test() { printf("hooola") } */ import ( "C" ) func MessageBox() { C.test() } However this will return cc1.exe: sorry, unimplemented: 64-bit mode not compiled in I checked my g++ and gcc compilers and everything seems fine, g++ -v returns this C:\Users\ragga>g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=C:/Program\ Files/mingw-w64/x86_64-6.2.0-posix-seh-rt_v5-rev1/mingw64/bin/.