User Tools

Site Tools


support:hpc:software:gcc

GNU Compiler Collection

GCC includes front ends for C, C++, Objective-C, Fortran, Java, and Ada, as well as libraries for these languages.

Prerequisites

Below is a list of prerequisites for using the GNU compilers:

Installed Versions

We support multiple versions of GNU compilers. Some of the versions we currently have installed include:

  • GCC 4.5
  • GCC 4.7.3
  • GCC 4.7
  • GCC 4.9.3
  • GCC 5.5.0
  • GCC 6.3.1
  • GCC 7.2.0
  • GCC 7.3.0

Using

The default version of GCC will be loaded automatically. To load the different versions first determine which version you want to use.

Version 4.7

This is the latest stable version of GCC and will be loaded automatically.

To load it manually type:

module load gcc

Version 4.6

This is the latest stable version of GCC and will be loaded automatically.

To load it manually type:

module load gcc/4.6

Version 4.5

This is the latest stable version of GCC and will be loaded automatically.

To load it manually type:

module load gcc/4.5

Version 4.4

To load it manually type:

module load gcc/4.4

Building

We built GCC using the following options.

Version 4.4.2:

configure --with-mpfr-include=$MPFR_HOME/include

Documentation

There are man pages available once you load the module but if you prefer to browse online documentation you can look on GNU's website.

support/hpc/software/gcc.txt · Last modified: 2019/03/08 16:50 by tdthatch