GCC

Version:

13.3.0, 13.2.0, 12.3.0, 11.3.0, 11.2.0, 10.3.0

Category:

compiler

Cluster:

Vali

Author / Distributor

https://gcc.gnu.org/

Description

The GNU Compiler Collection (GCC) is a widely used set of compilers for C, C++, Fortran, and other programming languages. Version 13.3.0 is a stable release in the 13.x series, offering improved standards compliance, performance optimizations, and new features for C++23 and OpenMP.

Key features in GCC 13.3.0:

  • Full support for C++20 and partial support for C++23

  • Improved diagnostics and error messages

  • Enhanced performance for vectorization and loop optimizations

  • Updates to the Fortran front-end and OpenMP 5.2 support

  • Support for many modern CPU architectures

Documentation

Examples/Usage

  • Load GCC 13.3.0:

$ module load GCC/13.3.0
  • Compile a C program:

$ gcc -O2 -Wall hello.c -o hello
  • Compile a C++ program using C++20:

$ g++ -std=c++20 -O2 main.cpp -o app
  • Compile a Fortran program:

$ gfortran compute.f90 -o compute
  • Check the version:

$ gcc --version
  • Unload the module:

$ module unload GCC/13.3.0

Installation

Official source tarball from https://ftp.gnu.org/gnu/gcc/gcc-13.3.0/