From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: gccgo package does not include gccgo binary Date: Tue, 12 Jul 2016 09:20:27 +0800 Message-ID: <87shvfmz38.fsf@gmail.com> References: <87twg1zedu.fsf@gmail.com> <87shvizcnm.fsf@guixsd-mailerver.i-did-not-set--mail-host-address--so-tickle-me> <87a8hpjyun.fsf@gmail.com> <87oa65za4k.fsf@guixsd-mailerver.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMmNX-0004wL-QX for help-guix@gnu.org; Mon, 11 Jul 2016 21:20:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMmNT-0007bx-If for help-guix@gnu.org; Mon, 11 Jul 2016 21:20:50 -0400 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:33193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMmNT-0007bk-AZ for help-guix@gnu.org; Mon, 11 Jul 2016 21:20:47 -0400 Received: by mail-pa0-x22f.google.com with SMTP id ks6so664375pab.0 for ; Mon, 11 Jul 2016 18:20:47 -0700 (PDT) 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") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Matthew Jordan Cc: help-guix@gnu.org Hi guix, Matthew Jordan 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 on SO. The answer written by Didier basically works for me, except that '//#include ' has to be replaced by '//#include ' 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