- 论坛徽章:
- 0
|
$>cc - v
xlc(1) IBM (September 2004) xlc(1)
NAME
xlc++, xlC, xlc, cc, c89, c99, xlCcore, xlc++core and
related commands - invoke the IBM XL C/C++ compiler
SYNTAX
invocation-command [ option | inputfile ] ...
Where invocation commands are :
xlc, xlc++, xlC, cc, c89, c99, xlc++core, xlCcore, xlc128,
xlc++128, xlC128, cc128, c89_128, c99_128, xlc++core128,
xlCcore128,
optionally followed by _r, _r4, _r7
DESCRIPTION
xlc and related commands compile C and C++ source files.
They also process assembler source files and object files.
The compiler calls the link editor to produce a single
executable or shared library, unless you specify the
compiler options that prevent object files from being
linked.
The input file may have any of the following suffixes:
.C, .cpp, .cxx, .cc, .cp, .c++ = C++ source file
.c = C source file
.i = preprocessed C or C++ source file
.a = archive file
.o = object file for ld command
.s = assembler source file
OPTIONS
Options can be flag options or keyword options:
Flag options
-# Displays language processing commands but does not
invoke them; output goes to standard output.
-+ (C++) Compiles any file, <filename.nnn>, as a C++
language file, where <nnn> is any suffix other than
.a, .o, or .s.
-B<prefix>
When used together with -t, constructs alternate
大概有几十页了。。 我用的是AIX6.1 |
|