[Next] [Previous] [Up] [Top] [Contents] [Index]

Chapter 16: Software Development

16.3 Introduction to C++ on UNIX

CC (upper case), g++ and gcc are all C++ compiler commands on the Fermilab-supported UNIX systems that provide C++ (see section 16.1 for a brief discussion). Just as C++ is a superset of C, the C++ compilers are very similar to C compilers in that their options are usually a superset of C compiler options. The basic compiling information about C in section 16.2.3 is also applicable to C++, with the following exceptions[77]:

C

(upper case)

c

(lower case)

cxx

cpp

cc

c++

The C++ compiler may not yet be installed on your Fermilab UNIX system.


[77] This doesn't apply to Gnu C++. The compiler command for both Gnu C and Gnu C++ is gcc, and the available Gnu compiler options are different from the vendor compiler options.

UNIX at Fermilab - 10 Apr 1998

[Next] [Previous] [Up] [Top] [Contents] [Index]