Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_modules:gcc [2018/11/05 21:08] (current)
ktm5j created
Line 1: Line 1:
 +====== Gcc ======
 +
 +Project website: https://​www.gnu.org/​software/​gcc/​
 +
 +The GNU Compiler Collection includes front ends for C, C++, Objective-C,​ Fortran, Ada, and Go, as well as libraries for these languages (libstdc++,​...). 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.
 +
 +===== Using gcc =====
 +
 +==== Loading the Module ====
 +
 +**Example: **
 +<​code>​
 +[ktm5j@portal01] ~$ module whatis gcc
 +------------------------ /​sw/​centos/​Modules/​modulefiles ------------------------
 +                 gcc: Sets the environment for using gcc-current compilers
 +[ktm5j@portal01] ~$ module load gcc
 +[ktm5j@portal01] ~$ which gcc
 +/​sw/​centos/​gcc/​current/​bin/​gcc
 +</​code>​
 +
 +==== Environment Variables ====
 +
 +^ Variable ^ Join Type ^ String Added ^
 +| PATH | prepend | /​sw/​centos/​gcc/​current/​bin |
 +| LD_LIBRARY_PATH | prepend | /​sw/​centos/​gcc/​current/​lib64 |
 +| LD_INCLUDE_PATH | prepend | /​sw/​centos/​gcc/​current/​include |
 +| MANPATH | prepend | /​sw/​centos/​gcc/​current/​man |
 +| CC |  | /​sw/​centos/​gcc/​current/​bin/​gcc |
 +| GCC |  | /​sw/​centos/​gcc/​current/​bin/​gcc |
 +| FC |  | /​sw/​centos/​gcc/​current/​bin/​gfortran |
 +| F77 |  | /​sw/​centos/​gcc/​current/​bin/​gfortran |
 +| F90 |  | /​sw/​centos/​gcc/​current/​bin/​gfortran |
 +
  
  • linux_modules/gcc.txt
  • Last modified: 2018/11/05 21:08
  • by ktm5j