[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gccgo package does not include gccgo binary
From: |
Alex Vong |
Subject: |
Re: gccgo package does not include gccgo binary |
Date: |
Sun, 10 Jul 2016 23:29:20 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello Mathew,
Thank your help, but I still cannot build hello-world...
Matthew Jordan <address@hidden> 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
- gccgo package does not include gccgo binary, Alex Vong, 2016/07/07
- Re: gccgo package does not include gccgo binary, Leo Famulari, 2016/07/09
- Re: gccgo package does not include gccgo binary, Matthew Jordan, 2016/07/09
- Re: gccgo package does not include gccgo binary,
Alex Vong <=
- Re: gccgo package does not include gccgo binary, Matthew Jordan, 2016/07/10
- Re: gccgo package does not include gccgo binary, Alex Vong, 2016/07/11
- Re: gccgo package does not include gccgo binary, Matthew Jordan, 2016/07/12
- Re: gccgo package does not include gccgo binary, Alex Vong, 2016/07/12
- Re: gccgo package does not include gccgo binary, Leo Famulari, 2016/07/12
- Re: gccgo package does not include gccgo binary, Alex Vong, 2016/07/12
- Re: gccgo package does not include gccgo binary, Ludovic Courtès, 2016/07/12
- Re: git ca cert problems, Alex Vong, 2016/07/13
- Re: git ca cert problems, Ludovic Courtès, 2016/07/13