I would use the SunStudio c/c++ compiler for Sun Sparc, especially 64bit sparc. All the sun stuff is built with Sun Studio (/opt/SUNWspro/bin/cc etc).
the perl thats built into solaris 9 is likely a little old, and may not be 64bit, I'm not sure. k, on my sol9 sparc legacy test system(a V240), /usr/bin/perl is 32bit. There is no /usr/bin/sparcv9/perl
original perl is 5.6. so i installed perl 5.8.9 for 64 bit ....and the error is the same... maybe my error is with the compiler, it is "gcc" (3.4.6). is it possible?
I try to downloaded SunStudio c/c++ compiler ... but it is not free... and the administration don't have it