Difference between revisions of "GCC/Note"
From ScientificComputing
(Created page with "The GCC module sets several environment variables, which point to the different executables for the available compilers. * $CC → C compiler ''gcc'' * $CXX → C++ com...") |
|||
Line 1: | Line 1: | ||
The GCC module sets several environment variables, which point to the different executables for the available compilers. | The GCC module sets several environment variables, which point to the different executables for the available compilers. | ||
− | * $CC → C compiler ''gcc'' | + | * '''$CC''' → C compiler ''gcc'' |
− | * $CXX → C++ compiler ''g++'' | + | * '''$CXX''' → C++ compiler ''g++'' |
− | * $FC, $F90, $F77 → Fortran compiler ''gfortran'' | + | * '''$FC''', '''$F90''', '''$F77''' → Fortran compiler ''gfortran'' |
− | * $CPP → C pre-processor ''cpp'' | + | * '''$CPP''' → C pre-processor ''cpp'' |
The path's to the executables will be set according to the GCC version that is loaded. | The path's to the executables will be set according to the GCC version that is loaded. |
Latest revision as of 10:15, 26 September 2016
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.