The GCC module sets several environment variables, which point to the different executables for the available compilers.
- $CC → C compiler gcc
- $CXX → C++ compiler g++
- $FC, $F90, $F77 → Fortran compiler gfortran
- $CPP → C pre-processor cpp
The path's to the executables will be set according to the GCC version that is loaded.