Introduction to compilers for Linux on IBM Power Systems

These are the available compilers for Linux on Power.

IBM XL Fortran for Linux

IBM XL Fortran for Linux is an advanced, high-performance compiler that can be used for developing complex, computationally intensive Fortran programs, including interlanguage calls with C programs. Learn more.

IBM XL C/C++ for Linux

IBM XL C/C++ for Linux is an advanced, high-performance compiler that can be used for developing complex, computationally intensive C and C++ programs. Learn more.

GCC (gcc, g++, gfortran)

The GNU Compiler Collection (GCC) is the standard set of compilers shipped with all Enterprise Linux distributions. Learn more.

LLVM

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Learn more.

As of March 2020, IBM became a platinum sponsor of the LLVM foundation, as shown here. The LLVM foundation is a non-profit whose mission is to support education and the advancement of the field of compilers and tools through educational events, grants and scholarships, and increasing diversity with the field of compilers, tools, and the LLVM project. With this new sponsorship, IBM reaffirms its strong commitment to the LLVM open source project and continued participation in the community.

IBM has been a strong supporter of the LLVM open source project, contributing code for both IBM Power and IBM Z hardware in the areas of code generation and exploitation, portability and usability enhancements, and toolchain support. In 2019, IBM increased participation in the LLVM project by adding AIX support and enhancing loop optimizations. IBM recently announced intentions to fully incorporate the LLVM Core and Clang sub-projects in future C/C++ offerings on z/OS, Linux on Power, AIX and IBM i (with PASE) platforms. To learn more, go here.

golang

golang is available on Power with full support for ppc64le (little endian) and limited support for pure Go applications on ppc64 (big endian). General documentation for the Go programming language and the golang toolchain can be found at golang.org.

Download the official golang release binaries for ppc64le directly from golang.org. Read the release notes for more information.

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

Advance Toolchain for Linux on Power

The IBM Advance Toolchain is a set of open source development tools and runtime libraries which allows users to take leading edge advantage of IBM’s latest POWER hardware features on Linux. Learn more.

Additional information