[pkg-golang-devel] cgo support on mips*

Peter Colberg peter at colberg.org
Mon Nov 21 18:11:49 UTC 2016


On Sun, Nov 20, 2016 at 10:52:50PM -0500, Peter Colberg wrote:
> On which architectures does gccgo-6 support cgo?

gcc-6.2.0/libgo/go/go/build/build.go:

var cgoEnabled = map[string]bool{
…
        "linux/386":       true,
        "linux/alpha":     true,
        "linux/amd64":     true,
        "linux/arm":       true,
        "linux/arm64":     true,
        "linux/ppc":       true,
        "linux/ppc64":     true,
        "linux/ppc64le":   true,
        "linux/s390":      true,
        "linux/s390x":     true,

Peter



More information about the pkg-golang-devel mailing list