unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Alex Vong <alexvong1995@gmail.com>
To: Matthew Jordan <matthewjordandevops@yandex.com>
Cc: help-guix@gnu.org
Subject: Re: gccgo package does not include gccgo binary
Date: Sun, 10 Jul 2016 23:29:20 +0800	[thread overview]
Message-ID: <87a8hpjyun.fsf@gmail.com> (raw)
In-Reply-To: <87shvizcnm.fsf@guixsd-mailerver.i-did-not-set--mail-host-address--so-tickle-me> (Matthew Jordan's message of "Sat, 09 Jul 2016 18:09:49 -0400")

Hello Mathew,

Thank your help, but I still cannot build hello-world...

Matthew Jordan <matthewjordandevops@yandex.com> 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

  reply	other threads:[~2016-07-10 15:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-07 14:55 gccgo package does not include gccgo binary Alex Vong
2016-07-09 18:23 ` Leo Famulari
2016-07-09 22:09 ` Matthew Jordan
2016-07-10 15:29   ` Alex Vong [this message]
2016-07-10 17:16     ` Matthew Jordan
2016-07-12  1:20       ` Alex Vong
2016-07-12  9:38         ` Matthew Jordan
2016-07-12 11:05           ` Alex Vong
2016-07-12 12:35             ` Leo Famulari
2016-07-12 14:13               ` Alex Vong
2016-07-12 13:23         ` Ludovic Courtès
2016-07-13 14:41           ` git ca cert problems Alex Vong
2016-07-13 21:11             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8hpjyun.fsf@gmail.com \
    --to=alexvong1995@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=matthewjordandevops@yandex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).