>When I attempt to execute cc, I get the following error message:
>/usr/ucb/cc: language optional software package not installed.
>I have recently installed Solaris 2.6 x86 (my first), and I did a
>full installation, as I had the room to spare. Does the full
>installation not install all needed modules? I need cc to be to
>compile gzip code, as the downloaded binary happened to be a SPARC
If you didn't pay Sun extra money over and above the cost of the
operating system for their compiler, /usr/ucb/cc is never going to
Besides which, using /usr/ucb/cc (when it does work) on a Solaris 2.x
system is just asking for trouble in my opinion, although perhaps it's
not as troublesome as using "ucbcc".
My advice is to go get the GNU compiler. You can get a precompiled
binary from somewhere (anyone want to volunteer a site?), and then
use that precompiled binary to build your own after you get the
latest sources by from prep.ai.mit.edu.
That's what I did (I actually used some non-standard gcc that somebody
had hacked up for better performance on x86 systems, because it was the
only precompiled binary I could find at the time!), and it worked just
Another piece of free advice: don't get the GNU linker. You don't
need it, and /usr/ccs/bin/ld works fine.
Yet another piece of free (this time unrelated and gratuitous)
advice: if you're just installing the system, then remember to go to
http://sunsolve.sun.com and find the cluster of recommended patches for
your system, then download and install that cluster.
 Can it really be both free and gratuitous? I suppose in
connotation it can, but I'm not so sure about denotation.