The cc command is used to compile C programs on Solaris 10. After much investigation, this is how I fixed the issue of "cc command not found":
1. Install Sun Studio 11. Sun Studio is available on the Sun Website
2. Set the path to SUNWspro like this:
“Export PATH=/opt/SUNWspro/bin${PATH:+:}${PATH}”
And that's it. The CC command should now work. happy compiling!!!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment