title: Go 1.13: gcc-5 not in PATH
body: <p>I've installed <strong>Go 1.13.4</strong> in Debian Linux 10 using <strong>brew</strong>, package <code>golang</code> (previously I've removed <code>golang-1.11</code> installed via <strong>apt</strong>). It follows <code>brew info</code> output.</p>
  
  <pre><code>$ brew info golang
  go: stable 1.13.4 (bottled), HEAD
  Open source programming language to build simple/reliable/efficient software
  https://golang.org
  /home/linuxbrew/.linuxbrew/Cellar/go/1.13.4 (9,271 files, 408.1MB) *
    Poured from bottle on 2019-12-07 at 14:31:52
  From: https://github.com/Homebrew/linuxbrew-core/blob/master/Formula/go.rb
  ==&gt; Requirements
  Required: macOS is required ✔
  ==&gt; Options
  --HEAD
      Install HEAD version
  ==&gt; Analytics
  install: 1,571 (30 days), 8,628 (90 days), 31,650 (365 days)
  install-on-request: 784 (30 days), 4,096 (90 days), 13,267 (365 days)
  build-error: 0 (30 days)
  </code></pre>
  
  <p>When I try to execute <code>go build</code> on a package with code calls <code>native OS functions</code>, <strong>GO compiler</strong> tells that it's unable to find <code>gcc-5</code> command as presented below.</p>
  
  <pre><code>$ go build
  # _/home/giacomo/src/goproc/process
  exec: "gcc-5": executable file not found in $PATH
  </code></pre>
  
  <p>So I've installed latest <strong>GCC (9.2.1)</strong> from <strong>testing</strong> (deb <code>http://ftp.us.debian.org/debian testing main contrib non-free</code>) repository and created a symbolic link to <code>/usr/bin/x86_64-linux-gnu-gcc-9</code>.</p>
  
  <p>This solved the problem. But the question is: is this the correct way to fix the problem? Or is there a place to properly configure the <strong>GCC</strong> used by <em>golang</em>?</p>
  
  <p>Any clarification very appreciated!</p>