Your solaris stuff can be messy, so be careful.
Solaris doesn't come stock with a real cc. You will be able to find it, but it's simply a script that says something like, "you don't have it" or something weird like that. Anyway, solaris cc cost mega $$$ so it's suggested you install gcc from that supplement disk that ships with solaris or download it. Then you can compile stuff. Most likely if logged in as root, you won't have the path to make and other stuff defined (solaris does that in purpose). Anyway, you are going to run into many many little things in solaris, and I don't care to name them all.
I hope you are a solaris admin there, and that they don't mind you messin around. Otherwise, you might end up with a busted box.