solaris 10 doesn't come with a C compiler per default, but if you bought the media kit you will find a DVD/CD inside with
SunStudio11 or you could download it, it's free
. that's the original sun compiler, however you could also use GCC or whatever as well....
gP