News for hackers. Stuff that matters.
Re:Golang: Don't be afraid of makefiles by firethief on Wednesday September 20, 2017 @12:42PM (#15295745)
Does WSL not solve that?
Re:Golang: Don't be afraid of makefiles by wtetzner on Wednesday September 20, 2017 @01:18PM (#15296108)
If you do your build under WSL, you'll get a Linux binary. Which may or may not be OK, depending on what you're after.
Re:Golang: Don't be afraid of makefiles by rcarmo on Wednesday September 20, 2017 @04:19PM (#15297842)
Re:Golang: Don't be afraid of makefiles by wtetzner on Wednesday September 20, 2017 @05:03PM (#15298226)
Ah, that's a good point. You just need to remember to set the right environment variables. Unless you need to link against MSVC stuff, although I don't know if Go supports that anyway.
Re:Golang: Don't be afraid of makefiles by e12e on Wednesday September 20, 2017 @06:40PM (#15299005)
Doesn't look like go works with msvc yet - the following issue was a fascinating read (partly because of the optimism and persistence displayed, partly in a ohmigoditsatrainwreckcantlookaway-way ;)

https://github.com/golang/go/issues/20982

Re:Golang: Don't be afraid of makefiles by sythe2o0 on Wednesday September 20, 2017 @05:14PM (#15298314)
It isn't always as simple as setting some environment variables. None of the projects I work on will compile when told to compile for another OS_ARCH because of the dependencies they have.