Home
 
Getting Started
 
Access Information
 
Code Development
 
Computing Resources
 
Running Jobs
 
Documentation and Training
 
Events
 
Careers at A*CRC
 
   
GNU Compilers  
 
GNU Compilers
Description 
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.

Official Homepage
      
Documentation
Users Manual
On-line Documentation

Other References
 
 
License Agreement and Citation Format
License Agreement
GNU General Public License Ver. 3

Citation Format 

 
How to Access the Program 
 
Availability
Servers Versions Compilers Paths
Fuji 4.1.2 C compiler /usr/bin/gcc
C++ Compiler /usr/bin/g++
Fortran Compier /usr/bin/gfortran
Aurora 4.3.4 C compiler /usr/bin/gcc
C++ Compiler /usr/bin/g++
Fortran Compier /usr/bin/gfortran
Axle 4.1.2 C compiler /usr/bin/gcc
C++ Compiler /usr/bin/g++
Fortran Compier /usr/bin/gfortran
Using the Program
C/C++
(With default optimization -O)
C:      gcc source.c     -o executable
C++:  g++ source.cc  -o executable   

(With -O3 optimization)
C:      gcc -O3 source.c     -o executable     
C++:  g++ -O3 source.cc  -o executable

(With OpenMP and pthreads enabled)
C:      gcc -fopenmp -pthreads source.c    -o executable
C++:  g++ -fopenmp -pthreads source.c  -o executable

Fortran
(With default optimization -O)
F77:   gfortran source.f    -o executable
F90:   gfortran source.f90 -o executable

(With -O3 optimization)
F77:   gfortran -O3 source.f   -o executable
F90:   gfortran -O3 source.f90 -o executable

(With OpenMP and pthreads enabled)      
F77:   gfortran -fopenmp -pthreads source.f    -o executable
F90:   gfortran -fopenmp -pthreads source.f90 -o executable

Additional Notes
 
Last Updated - 28th Sep 2011
 
     
Privacy Policy