GNU Compiler Collection

Article ID: 87
Last updated: 20 Dec, 2021

The GNU Compiler Collection (GCC) is an integrated distribution of compilers for several major programming languages, which currently include C, C++, Objective-C, Objective-C++, Java, Fortran, and Ada.

The GNU C and C++ compiler (gcc and g++) and Fortran compiler (gfortran) are available on NAS systems through the Linux operating system distribution. The current version, which is installed in the /usr/bin directory, can be found by using the gcc -v command. For example:

% gcc -v 
[...] 
4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

To see which GCC versions are available as modules on NAS systems, run module avail.

Read man gcc and man gfortran for more information.

Contact Us

General User Assistance

Security

  • Report security issues 24x7x365
  • Toll-free: 1-877-NASA-SEC (1-877-627-2732)
  • E-mail: soc@nasa.gov

User Documentation

High-End Computing Capability (HECC) Portfolio Office

NASA High-End Computing Program

Tell Us About It

Our goal is furnish all the information you need to efficiently and effectively use the HECC resources needed for your NASA computational projects.

We welcome your input on features and topics that you would like to see included on this website.

Please send us email with your wish list and other feedback.