go exec: "gcc": executable file not found in %PATH%

win下使用go,在进行go run build.go时,提示 exec: "gcc": executable file not found in %PATH%

原因是sqlitle3是个cgo库,需要gcd编译c代码
然后下载安装tdm-gcc即可(windosw版本)下载地址:http://tdm-gcc.tdragon.net/download

上一篇:nodejs -- fs模块 ---> readFile 函数 1) fs.readFile(filename, "binary", function(error, file) 2) response.write(file, "binary");


下一篇:Mac上安装Node和NPM【转】