set your path to cc comiler directory that is first type find / -name cc you will see path then
set path to export PATH=$PATH:<output of find cmd> usually you will find it in /usr/sfw/bin Even you will find ready gcc compiler in that same directory -- This message posted from opensolaris.org
