Adding gcc to git bash

shindakun

Steve Layton

Posted on September 7, 2022

Adding gcc to git bash

So today I was working on my “main” computer which didn’t have much set up on it. Basically only git bash. Problem is I wanted to work on my Hugo site and theme. To do that I needed to install the version of Hugo with extended support for SCSS. This requires gcc. The quickest solution I found was to just install msys2. Once installed it was just a matter of changing to the Hugo directory and running go install --tags extended.

$ cd /d/Code/hugo/
$ go install --tags extended
$ hugo version
hugo v0.103.0-DEV-06c3ac67411e2faaf1545427d4df4e326fffd3c0+extended windows/amd64 BuildDate=2022-09-03T09:38:03Z

Enter fullscreen mode Exit fullscreen mode


💖 💪 🙅 🚩
shindakun
Steve Layton

Posted on September 7, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related