Personal tools
You are here: Home NTNU NTNU News New GCC compilers
Navigation
 

New GCC compilers

by Henrik R. Nagel last modified Jun 17, 2008 10:18 AM

The GNU Compiler Collection version 4.2.0 has been installed on Njord.

In most cases, it is necessary to use the -maix64 compiler option to avoid 32/64-bit problems. Use for example the following settings:

export CFLAGS="-maix64 -mcpu=power5+ -mtune=power5+"
export CPPFLAGS="-maix64 -mcpu=power5+ -mtune=power5+"
export LDFLAGS="-maix64"
Document Actions