Sun Studio 12: Fortran User's Guide

3.4.177.3 x86 Platforms

The valid -xtarget platform names for x86 systems are:

generic, native, pentium, pentium_pro, pentium3, pentium4, and opteron.

Compiling for 64-bit Solaris OS on 64-bit enabled x86 platform is indicated by the -m64 flag. For example, compiling with -xtarget=opteron is not necessary or sufficient. If -xtarget is specified, the -m64 option must appear after the -xtarget flag, as in:


-xtarget=opteron -m64

otherwise the compilation will be 32-bit x86.