英文:
Can I use cgo with Windows SDK?
问题
我刚刚尝试了tdm-gcc,它可以工作,但是能否使用Windows SDK来使用cgo呢?
英文:
I've just tried tdm-gcc and it works, but is it possible to use cgo with Windows SDK?
答案1
得分: 1
是的,在Windows上支持cgo。
不过,仍然有一些未解决的问题你可能想要查看。我相信自go1以来也有一些修复,所以你可能需要从更接近最新版本的代码开始工作(我记不清它们是否在go1.0.3中)。
英文:
Yes, cgo is supported on Windows.
There are still some open issues you might want to take a look at, though. I believe there are also some fixes in place since go1, so you may need to work from closer to tip (I can't recall if they're in go1.0.3 or not).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论