Hi all, I’m new to Go programming and want to contribute to Hugo.
Working my way through the Contribute to Hugo Development article and I’ve run into a problem:
mage -v check fails in go1.17.1 on Windows with this error:
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%
This looks like a previous Hugo issue: Compiling and installing Hugo from source on Windows is getting a gcc error and fails · Issue #5798 · gohugoio/hugo · GitHub, which was closed and referred here, so am reluctant to open a new one (for now at least!)
I think the root cause is this Golang issue: cmd/dist: remove precompiled .a files from binary distributions · Issue #47257 · golang/go · GitHub and I have the beginnings of an idea to resolve it in Hugo. I’m keen for any input and guidance the community can offer, and looking forward to getting involved!