ok, thank you so much. I've got it.
I have modified the $PATH or by just typing the full path of the make command.
output of:
bash-2.03# which cc
/usr/ucb/cc
bash-2.03# which gcc
no gcc in /usr/sbin /usr/bin /usr/dt/bin /usr/openwin/bin /bin /usr/ucb /usr/ccs/bin /usr/xpg4/bin
One more question. I'm not sure if my Solaris is 32bit or 64bit.

This box is Sun Blade 150.
but during boot up, there a message:
SUNOS Release 5.8 Version Generic_108528-29 64 bit
The hardware is 32 bit, right? but why is it that there is a 64 bit message?
Thanks,
warren