Different versions of the GNU Compiler Collection (GCC) can now be selected via the module mechanisms on Cluster32 just as any other module-controled software package.
The latest releases of version 2.95.3, 3.2, 3.3 and 3.4 are available as 32-bit-only compilers, version 3.3 and 3.4 are additionally available as 64/32-bit compilers. For the 64/32-bit compilers, the defaut is to produce 64-bit code!
The compilers have been compiled at RRZE from the latest released GNU GCC source without further patches. Just two small changes had to be made to adapt to the local configuration,. In particular, for the 64/32-bit compilers the specs
file has been modified to pass --64
to the assembler whenever no -m32
is given explicitly.
To load the GCC modules, you first of all have to add the “testing” directory to your module searchpath: module -a use /opt/rrze/modules/modulefiles/testing
. After that, the procedure is as usual …