Hehe... here we go.
cc is an older compiler. Most often, cc is just a symbolic link to gcc.
Traditionally, gcc (gcc = GNU Compiler Collection) is viewed as the standard C compiler. It is capable of compiling many different languages, depending on what was enabled when the program was created (fortran, lisp, and others are available I believe)
g++ is a C++ compiler.
gcc is supposed to handle C++ code as well, but I've always had problems getting it to accept my source code. I've heard that g++ is a derivative/wrapper for gcc. I haven't reasearched it enough to know for sure, but it would seem likely since they both seem to follow the same format regarding command line options.
|