The GNU C/C++ and Fortran compilers are provided on the HPC and Spear as an alternative to the Intel compilers.
GNU compilers are always available in the shell path. There is no need to include any environment modules, unless you need to use gnu mvapich, gnu mvapich2, or gnu openmpi libraries.
C and C++
The GNU compilers include a debugger:
For quick help about each GNU compiler, type:
# gcc --help # gfortran --help
More information about the GNU compilers are available on the manpages:
# man gcc # man gfortran
A comprehensive guide to the GCC compiler is available online