Gentoo Archives: gentoo-dev

From: Leno Hou <lenohou@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v1] enable gccgo for all platform
Date: Tue, 03 Nov 2015 02:40:51
Message-Id: CAGQVrL-yQ7iJrmoexdkpXCFKaRtrJu3uL5rptdJasfViB-uQJA@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH v1] enable gccgo for all platform by William Hubbs
1 On Tue, Nov 3, 2015 at 6:38 AM, William Hubbs <williamh@g.o> wrote:
2
3 > On Mon, Nov 02, 2015 at 09:12:30PM +0100, Justin Lecher (jlec) wrote:
4 > > -----BEGIN PGP SIGNED MESSAGE-----
5 > > Hash: SHA512
6 > >
7 > > How about a virtual here?
8 >
9 > I don't see that working out to well because the compilers are
10 > completely different from each other. As I said, the reference
11 > implementation of the go language is dev-lang/go and the other one, that
12 > is part of gcc, as I understand it, is not quite as fully developed as
13 > dev-lang/go.
14 >
15 >
16 As you said, I want to build packages use `go build` command.
17 1. The GCC 5 releases include a complete implementation of the Go 1.4 user
18 libraries. [1]
19 2. The Go 1.4 runtime is not fully merged, but that should not be visible
20 to Go programs.
21 3. The GCC 5 includes go command like dev-lang/go
22 4. Now I've successfully compiled docker on gentoo ppc64le by gcc5, see [2]
23 5. So I think there're the same. but i'm not sure, Is dev/go-1.5 support
24 ppc64, s390 platform ?
25 If not support, DEPEND=" || ( >=dev-lang/go-1.4:=
26 >sys-devel/gcc-5.1.0:=[go] ) " would be better.
27
28 Links
29 [1] https://golang.org/doc/install/gccgo
30 [2] https://bpaste.net/show/e4c68cfec77c
31
32 -Leno Hou