Prism works with both 64-bit or 32-bit binaries on Solaris 7. However, it cannot do performance analysis of 32-bit binaries. To workaround that problem, use the -32 option. For example,
% prism -32 -n 4 a.out&
The -32 option ie unnecessary if you are not using Prism to do performance analysis.