Page tree


The C and C++ programming languages are governed by standards committees.

The current International Standard for the C programming language is ISO/IEC 9899:1999. The current American National (ANSI) standard is ANSI/ISO/IEC 9899:1995 which includes three additions and corrections since initial approval in 1990, until ANSI approves the 1999 update.

The current International Standard for the C++ programming language is ANSI/ISO/IEC 14882:1998 which first became a standard in 1998. See for more information on C++.

How to use

The GNU Compiler Collection C compiler is called gcc and the C++ compiler is g++.

This 8.4.1 version of GCC (located at /opt/nci/bin/gcc) is the system built-in default version. As such, it does not require any module to load.

You can also check the other versions installed in Gadi with a module query:

$ module avail gcc

We normally recommend using the latest version available and always recommend to specify the version number with the module command:

$ module load gcc/11.1.0

For more details on using modules see our software applications guide.

The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages (libstdc++, libgcj,...).

GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.

See the documentation of gcc available at

The following would be of help in most of cases when looking for gcc and g++ compiler options:

$ man gcc

Authors: Mohsin Ali
  • No labels