The Gnu Compiler Collection (GCC), which is installed on Cosmos, includes C, C++ and Objective C compilers. The Gnu compilers are available for a great many platforms including mosts Unices and represent something of a standard --- if you want your code to be portable, development with these compilers is a good idea. Virtually all free and open-source software is developed with these compilers --- use them for compilation of such applications and utilities.
The C and C++ compilers are integrated. The compiler may be accessed through the commands gcc and g++, thus
gcc <source_file> |
g++ <source_file> |
Suffixes of source file names indicate the language and kind of processing to be done:
.c | C source; |
.C | C++ source; |
.cc | C++ source; |
.cxx | C++ source; |
.m | Objective-C source; |
.i | preprocessed C. |
The Gnu homepage for GCC may be accessed via the Gnu site at gcc.gnu.org; full documentation for the Compiler Collection on-line via that site at /onlinedocs --- the C/C++ section is at /onlinedocs/gcc.html.
ISD offers no support for these compilers other than this documentation.
...previous | up (conts) | next... |