I need to compile openssl on solaris 8 sparc, the compilation is broke due to missing 'cc' compiler. I wasn't able to find any working link for Sun cc, all I found are broken links to Sun Solaris Studio.
[update]
I found something looks like contains Solaris Studio 11, but I didn't use it I managed to find something locally.
If you don't specifically have a requirement for Sun Studio, tcgware maintains a catalog of pre-compiled Solaris packages, including for Solaris 8 Sparc.
http://jupiterrise.com/tgcware/tgcware.solaris.html
You can get gcc (and dependencies) there.