Gcc 4.5.1 now added to Manycore Testing Lab

Gcc 4.5.1 now added to Manycore Testing Lab

Gcc v4.5.1 has justbeen released and has beenadded to the Manycore testing lab. The default version 4.1.2 and 4.4.3 are still available on the MTL.

To access the 4.5.1 gcc compiler, the user should modify their makefile to include:

GCC_VERSION = 4.5.1
PREFIX = /opt/gcc/${GCC_VERSION}/bin/
CC = ${PREFIX}gcc
CPP = ${PREFIX}g++
LD_LIBRARY_PATH = /opt/mpfr/lib:/opt/gmp/lib:/opt/mpc/lib

Alternatively you may have to export the following:
$ export LD_LIBRARY_PATH = /opt/mpfr/lib:/opt/gmp/lib:/opt/mpc/lib

Note: that the mpc library is now requiredwhen usinggcc 4.5.1

For more information on the changes on gcc 4.5.1 see:
http://gcc.gnu.org/gcc-4.5/changes.html

1 条帖子 / 0 全新
如需更全面地了解编译器优化,请参阅优化注意事项