page-brochureware.php

Compilers for Linux on Power

Advanced compiler and optimization technologies

GO compilers

Go is a relatively new programming language that has been growing in popularity in recent years, and is the language used in applications such as Docker, Kubernetes, and Blockchain to name a few. Go compilers are available on PowerPC64 with full support for little endian and limited support for pure Go applications on big endian. General documentation for the Go programming language and the golang toolchain can be found at golang.org.

golang is available from the following locations:

Install the IBM Advance Toolchain

The Advance Toolchain is free to download, and is fully supported through IBM’s Support Line for Linux Offerings. The golang version provided in the Advance Toolchain is based on an official golang release with additional backported fixes or performance improvements not available in that release.

Find out more about IBM Advance toolchain

Download and install golang for ppc64le

Download the official golang release binaries for ppc64le from golang.org directly:

Binary downloads

Release information

Build golang from source for ppc64

The golang toolchain for ppc64 (big endian) can be built from source and then used to build programs written in pure Go.

Installing Go from source

gccgo is available from the following locations:

Install the IBM Advance Toolchain

The Advance Toolchain is free to download, and is fully supported through IBM’s Support Line for Linux Offerings. The compilers provided in the Advance Toolchain contain additional optimizations that were not completed at the time of the official base release of the compiler or distribution that includes it. The gccgo found in Advance Toolchain supports big and little endian, and provides the same set of mcpu targets and optimizations found in gcc.

Find out more about IBM Advance toolchain

Install from official GCC releases

You can find the gccgo compiler with the collection of compilers available from GCC.

GCC version GO Version
gcc 8.x go 1.9.x
gcc 7.x go 1.8.x

GNU Compiler Collection (GCC)

Linux distributions

The gccgo compiler is shipped with many Linux distributions. See your distribution information for more details.

You can also build gccgo from source:

Build GCCGO compiler from source

Welcome to the GO for Linux on Power user community!