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: Tue, 12 Jul 2016 09:20:27 +0800 [thread overview]
Message-ID: <87shvfmz38.fsf@gmail.com> (raw)
In-Reply-To: <87oa65za4k.fsf@guixsd-mailerver.i-did-not-set--mail-host-address--so-tickle-me> (Matthew Jordan's message of "Sun, 10 Jul 2016 13:16:43 -0400")
Hi guix,
Matthew Jordan <matthewjordandevops@yandex.com> writes:
> Good Day Alex and everyone,
>
>>
>> Thank your help, but I still cannot build hello-world...
>>
>
> If all you want to do is compile some hello world code,
>
> $ guix package -i go@1.4
>
> And use the "go" command
>
Actually, I am trying to link object file compile with gcc with go
object file. I was thinking using gccgo would make things simplier since
the backend is the same. Anyway, I follows your suggestion to use 'go'
command instead and find this guide
<https://stackoverflow.com/questions/16747021/how-do-you-statically-link-a-c-library-in-go-using-cgo>
on SO. The answer written by Didier basically works for me, except that
'//#include <toto.h>' has to be replaced by '//#include <toto.h>' to get
the code compiled. Have a good day :)
> I'll will be adding the 1.5 and 1.6 versions soon.
>
>> 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?
>
> Simply put, if you need a go compiler you will have to use gccgo@5.X or
> newer or use go@1.4 or newer.
>
> Cheers,
>
> ----
> Matthew Jordan
Btw, does anyone have problem cloning github repo? I get the SSL
verfication problem mentioned earlier. However, I have already installed
nss-certs and include the following line in .bashrc:
GIT_SSL_CAINFO="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
export GIT_SSL_CAINFO
Any ideas?
Thanks,
Alex
next prev parent reply other threads:[~2016-07-12 1:20 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
2016-07-10 17:16 ` Matthew Jordan
2016-07-12 1:20 ` Alex Vong [this message]
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=87shvfmz38.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).