cc





 cc(1)                                                                 cc(1)
                 Requires Optional ANSI C Compiler Software



NAME

cc, c89 - C compiler

SYNOPSIS

cc [options] files c89 [options] files

DESCRIPTION

cc is the HP-UX C compiler. c89 is the HP-UX POSIX-conforming C compiler. Both accept several types of arguments as files: o Arguments whose names end with .c are understood to be C source files. Each is compiled and the resulting object file is left in a file having the corresponding basename, but suffixed with .o instead of .c. However, if a single C file is compiled and linked, all in one step, the .o file is deleted. o Similarly, arguments whose names end with .s are understood to be assembly source files and are assembled, producing a .o file for each .s file. o Arguments whose names end with .i are assumed to be the output of cpp (see the -P option below). They are compiled without invoking cpp (see cpp(1)). Each object file is left in a file having the corresponding basename, but suffixed .o instead of .i.