From ScientificComputing
Revision as of 10:15, 26 September 2016 by Sfux (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.