On Fri, Dec 1, 2017 at 7:55 AM, Derek Brown <derekwbr...@gmail.com> wrote: > > Is it possible to use the visual studio compiler for cgo instead of gcc? > If not, is there a project underway? If not, can someone point me to > how I might contribute such a thing?
It's not possible today, as cgo assumes that certain options are supported. I'm not aware of anybody working on this. If you want to work on this, try running the go tool with the CC environment variable set to the Visual Studio compiler and see what fails. I suspect most of the changes will be in cmd/cgo/gcc.go and cmd/go/internal/work. Perhaps also cmd/link/internal/ld/lib.go. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.