Hello Mathew, Thank your help, but I still cannot build hello-world...
Matthew Jordan <[email protected]> writes: > Good Day Alex and everyone, > >> It seems the gccgo package does not come with the gccgo binary. Is there >> something I am missing here? I am installing the output 'out'. > > For gccgo-4.x and older releases there is no "go command". Gccgo 4.x > and older are library implementations of the various versions of the > "The Go Programming Language Specification". > > However as of gccgo 5.x this has changed. For gccgo 5.x the "gccgo" > command serves as a CLI interface to the library. > > I hope this clarifies things, also see the links below for more > information. > > > References: > > Setting up and using gccgo - The Go Programming Language > https://golang.org/doc/install/gccgo#Using_gccgo > This page suggests me to use gccgo command, which doesn't work. $ gccgo -c hello.go ==> bash: gccgo: command not found > Gccgo in GCC 4.7.1 - The Go Blog > https://blog.golang.org/gccgo-in-gcc-471 > This page suggests a new command: $ go build -compiler gccgo myprog ==> go build command-line-arguments: gccgo: exec: "gccgo": executable file not found in $PATH > The Go Programming Language Specification - The Go Programming Language > https://golang.org/ref/spec > > Sincerely, > > ---- > Matthew Jordan Also, in this page, https://gcc.gnu.org/onlinedocs/gcc-4.7.4/gccgo/Invoking-gccgo.html#Invoking-gccgo, it said, 'The gccgo command is a frontend to gcc and supports many of the same options'. Does this mean there is some kind of gccgo command even for gcc 4.7? Am I missing something here? Thanks, Alex
