#%Module1.0 module-whatis "GNU Compiler Collection" module-url "http://gcc.gnu.org/" module-license "GNU GPL v2/v3" module-maintainer "Achim Gsell " module-help " 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. This module includes compilers for - C/C++ - Objective-C/Objective-C++ - Fortran " set-family "Compiler" setenv CC $PREFIX/bin/gcc setenv CXX $PREFIX/bin/g++ setenv F77 $PREFIX/bin/gfortran setenv F90 $PREFIX/bin/gfortran setenv FC $PREFIX/bin/gfortran setenv FORTRAN $PREFIX/bin/gfortran # Ubuntu hack if { [file exist "/usr/include/x86_64-linux-gnu"] } { append-path C_INCLUDE_PATH "/usr/include/x86_64-linux-gnu" append-path CPLUS_INCLUDE_PATH "/usr/include/x86_64-linux-gnu" } if { [file exist "/usr/lib/x86_64-linux-gnu"] } { append-path LIBRARY_PATH "/usr/lib/x86_64-linux-gnu" }