Sun Studio 12: C++ User's Guide

Interactions

Compilation for SPARC V9 architecture indicated by the -xarch=v9|v9a|v9b option. Setting –xtarget=ultra or ultra2 is not necessary or sufficient. If -xtarget is specified, the -xarch=v9, v9a, or v9b option must appear after the -xtarget. For example:


-xarch=v9 -xtarget=ultra

expands to the following and reverts the -xarch value to v8.


-xarch=v9 -xarch=v8 -xchip=ultra -xcache=16/32/1:512/64/1

The correct method is to specify -xarch after -xtarget. For example:


–xtarget=ultra -xarch=v9