Technical data
Cray Standard C/C++ Reference Manual
2.1 CC Command
The CC command invokes the Cray Standard C++ compiler. The CC command
accepts C++ source files that have the following suffixes:
.c
.C
.i
.c++
.C++
.cc
.cxx
.Cxx
.CXX
.CC
.cpp
The CC command also accepts object files with the .o suffix; library files with the
.a suffix; and assembler source files with the .s suffix.
The CC command format is as follows:
CC [-c][-C][-d string][-D macro[=def]] [-E][-F][-g][-G level]
[-h arg][-I incldir][-l libfile][-L libdir][-M][-nostdinc]
[-o outfile][-O level][-P][-s][-S][-U macro][-V]
[-Wphase[,"opt..."]] [-Xnpes][-Yphase,dirname][-#][-##][-###]
file [file]...
See Section 2.3, page 6 for an explanation of the command line options.
2.2 cc Command
The cc command invokes the Cray Standard C compiler. The cc command
accepts C source files that have the .c and .i suffixes; object files with the
.o suffix; library files with the .a suffix; and assembler source files with the
.s suffix.
4 S–2179–36










