Some version of GCC is available on all systems. The version varies from platform to platform, depending on the latest build available from the platform vendor. Currently, the following versions are installed:
| Node | Version |
gcc support |
g++ support |
g77 support |
| miro |
3.3 |
yes |
yes |
yes |
| nucleus |
3.3 |
yes |
yes |
yes |
| escher |
3.3 |
yes |
yes |
yes |
| degas |
3.3 |
yes |
yes |
yes |
| klee |
3.3.2 |
yes |
yes |
yes |
| dali1 |
3.3.2 |
yes |
yes |
yes |
| dali2 |
3.3.2 |
yes |
yes |
yes |
| lorax |
3.2.3 |
yes |
yes |
yes |
| goya |
3.2.2 |
yes |
yes |
yes |
| isis |
2.9 |
yes |
yes |
no |
| osiris |
2.9.6 |
yes |
yes |
yes |
The gcc -v command will verify the version installed on any particular platform.
After you have configured your account to use WMC login scripts, you can use the gcc command and related commands on the command line. Examples:
$ gcc HelloWorld.c
compiles the C language program in the HelloWorld.c file.
$ g++ HelloWorld.cpp
compiles the C++ language program in the HelloWorld.cpp file.