I've installed Go 1.13.4 in Debian Linux using brew
.
When I try to execute go build
, GO can't find gcc-5
command.
So I've installed latest GCC (9.2.1) from testing repository and created a symbolic link to /usr/bin/x86_64-linux-gnu-gcc-9
.
This solved the problem. The question is: is this the correct way to fix the problem? Or is there a place to properly configure the GCC used by golang?
Any clarification very appreciated!