GCC
From ScientificComputing
Contents
Category
Development, CompilerDescription
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.Available versions (Euler, old software stack)
Legacy versions | Supported versions | New versions |
---|---|---|
4.7.4 | 4.4.7, 4.8.2, 4.9.2 | 4.8.4, 5.2.0, 6.2.0, 6.3.0 |
Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.
Environment modules (Euler, old software stack)
Version | Module load command | Additional modules loaded automatically |
---|---|---|
4.7.4 | module load legacy gcc/4.7.4 | |
4.4.7 | module load gcc/4.4.7 | |
4.8.2 | module load gcc/4.8.2 | |
4.9.2 | module load gcc/4.9.2 | |
4.8.4 | module load new gcc/4.8.4 | |
5.2.0 | module load new gcc/5.2.0 | |
6.2.0 | module load new gcc/6.2.0 | |
6.3.0 | module load new gcc/6.3.0 |
Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.
License information
GPLv3 or later with exceptionLGPLv2.1 or later with exception
Notes
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
Links
https://gcc.gnu.org/https://en.wikipedia.org/wiki/GNU_Compiler_Collection
https://www.youtube.com/channel/UC0PVFIrh1o6hl1-QL_O1QEg