Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • And if your on Linux, it's probably GCC, not CC.
    – Linuxios
    Commented Aug 13, 2012 at 18:49
  • 6
    @Linuxios in most Linux systems, cc is a symbolic link to gcc.
    – Renan
    Commented Aug 13, 2012 at 18:50
  • Good to know. Although it points to something else on systems like Slaris, right?
    – Linuxios
    Commented Aug 13, 2012 at 18:54
  • 2
    Just checked a couple of Solaris boxes, and /usr/bin/cc links to /opt/SUNWspro/bin/cc on one and /opt/sunstudio12.1/bin/cc on the other. Regardless, it's still a C compiler.
    – OrangeDog
    Commented Aug 14, 2012 at 9:38
  • 1
    And on an HPUX box it's /opt/ansic/bin/cc.
    – OrangeDog
    Commented Aug 14, 2012 at 9:40