gccgo
is just like building gcc
with one additional option. See
the instructions on the gcc web
site. When you run configure
, add the
-option --enable-languages=go
(along with other languages you
+option --enable-languages=c,c++,go
(along with other languages you
may want to build).