This information is being deprecated.  We highly recommend you use CCR's new software infrastructure for this package

The entire GNU compiler suite is available, with the usual invocations, gcc, g++, and gfortran.


Category:  Compiler


Availability: Open access for all academic and industry users

 


Usage Notes


The GNU compilers are in the default path.

Show the version using the command:  gcc -v

 

Example of compiling hello-world with the GNU C compiler:



 [ccruser@vortex:~]$ vi hello-world.c

 

#include <stdio.h>

int main() {
   printf("Hello world!\n");
}

 

[ccruser@vortex:~]$ gcc -o hello-gnu hello-world.c
[ccruser@vortex:~]$ ./hello-gnu
Hello world!