There’s a new Software collection, called Coolstack, offered by Sun with Open Source software, compiled with Sun Studio 11, optimized for Solaris/Ultrasparc Platform.
Currently, there are Sun packages with Apache HTTP Server 2.0.58, MySQL 5.0.22, PHP 5.1.4, Perl 5.8.8 and Squid 2.5.STABLE14 Web Proxy Cache. The Software installs to /usr/local/ .
Within each package there’s a README File, which shows you, what options have been used to compile each package.
This could be a good starting point, if you want to compile your own binaries with Sun Studio 11.
I hope that Sun will compile the already in Solaris 10 included Open Source Packages like apache, mysql, perl with these options in future, too. And maybe, Sun will also put PHP into the supported Solaris distro in the future, like all Linux vendors do.