Next: , Previous: Specifying the Environment for Building, Up: Building and Installing NetCDF on Unix Systems


3.3 Building on 64 Bit Platforms

Some platforms support special options to build in 64-bit mode.

NetCDF 3.6.2 has been tested as 64-bit builds on SunOS, Irix, and AIX. The options needed to build in 64-bit mode on these platforms are described here, and can be turned on by providing the –enable-64bit flag to configure.

AIX
Set -q64 option in all compilers, and set NMFLAGS to -X64, and ARFLAGS to '-X64 cru'. Alternatively, set environment variable OBJECT_MODE to 64 before running configure.
IRIX
Set the -64 option in all compilers.
SunOS
Use the -xarch=v9 flag on all compilers. This is not supported on the x86 platform.