FORTRAN 77 Compiler

  1. f77 is the FORTRAN compiler on all Fermilab-supported UNIX systems.
    Do "man f77" for details.

C Compilers

  1. cc (lower case) is the C compiler command on all Fermilab-supported UNIX systems.
    Do "man cc" for details.

  2. gcc is the GNU C compiler and is available on all D0 unix machines.
    To use gcc, do "setup gcc" first. Do "man gcc" for details.

C++ Compilers

  1. CC (upper case) is the vendor supplied C++ compiler command and is available on all Fermilab UNIX platforms. Do "man CC" for details.

  2. g++ is the GNU C++ compiler command and is available on all D0 UNIX machines. Do "setup gcc" first in order to use it. Do "man g++" for details.

    Notice that GNU C and C++ compilers are integrated to gcc. g++ is a script to call gcc withe options to recognize C++. The advantages of using gcc is that it is a freeware and is platform independent. Software developers like gcc.

  3. KCC is KAI's implementation of C++ compiler. We only purchased KCC licenses on D0 challenges d0cha/d0chb. Do "setup kai" first in order to use it. Do "man KCC" to take a look at man pages

    The KAI C++ user's guide could be viewed from a netscape browser on d0chb. Open file:/usr/products/kai/v3_2d/KCC_BASE/doc/index.html

    Man page of KCC could also be reached as Open file:/usr/products/kai/v3_2d/KCC_BASE/doc/UserGuide/man_page/sgi_man_page.html

    KAI C++ includes both templates and exceptions. The KAI C++ optimizer was built from the ground up to optimize objects . The benefit is that KAI C++ raises the level at which you can program in C++ and still retain the speed of C.