- 论坛徽章:
- 0
|
续:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1548: checking for a BSD-compatible install
configure:1603: result: build-aux/install-sh -c
configure:1614: checking whether build environment is sane
configure:1657: result: yes
configure:1722: checking for gawk
configure:1751: result: no
configure:1722: checking for mawk
configure:1751: result: no
configure:1722: checking for nawk
configure:1738: found /bin/nawk
configure:1748: result: nawk
configure:1758: checking whether make sets $(MAKE)
configure:1778: result: yes
configure:1948: checking whether make sets $(MAKE)
configure:1968: result: yes
configure:2028: checking for gcc
configure:2057: result: no
configure:2108: checking for cc
configure:2124: found /bin/cc
configure:2134: result: cc
configure:2298: checking for C compiler version
configure:2301: cc --version </dev/null >&5
cc: 1501-216 command option -version is not recognized - passed to ld
IBM C and C++ Compilers
Usage:
xlC [ option | inputfile ]...
xlc [ option | inputfile ]...
cc [ option | inputfile ]...
c89 [ option | inputfile ]...
xlC128 [ option | inputfile ]...
xlc128 [ option | inputfile ]...
cc128 [ option | inputfile ]...
xlC_r [ option | inputfile ]...
xlc_r [ option | inputfile ]...
cc_r [ option | inputfile ]...
xlC_r4 [ option | inputfile ]...
xlc_r4 [ option | inputfile ]...
cc_r4 [ option | inputfile ]...
CC_r4 [ option | inputfile ]...
xlC_r7 [ option | inputfile ]...
xlc_r7 [ option | inputfile ]...
cc_r7 [ option | inputfile ]...
Description:
The xlC and related commands compile C and C++ source files.
They also processes assembler source files and object files. Unless the
-c option is specified, xlC calls the linkage editor to produce a
single object file. Input files may be any of the following:
1. file name with .C suffix: C++ source file
2. file name with .i suffix: preprocessed C or C++ source file
3. file name with .c suffix: C source file
4. file name with .o suffix: object file for ld command
5. file name with .s suffix: assembler source file
6. file name with .so suffix: shared object file
Options:
Options can be flag options or keyword options:
1. Flag options:
-# Display language processing commands but do
not invoke them; output goes to stdout.
-+ Treat .c files as C++ source code.
-bdynamic, -bstatic
Determines which types of library files are searched by
the linkage editor.
-brtl Tells the linkage editor to accept both .so and .a
library file types.
-B<prefix>
Construct alternate compiler/assembler/linkage editor
program names. <prefix> is added to the beginning of
the standard program names.
-c Do not send object files to the linkage editor.
-C Write comments to output when doing preprocessing,
used with -E and -P.
-D<name>[=<def>]
Define <name> as in #define directive. If <def> is
not specified, 1 is assumed.
-E Preprocess but do not compile; output goes to stdout
-F<x>[:<stanza>]
Use alternate configuration file <x> with optional
<stanza>. If <stanza> is not specified, xlC is
assumed.
-g Produce information for the debugger.
-I<dir> Search in directory <dir> for include files that
do not start with an absolute path.
-l<key> Search the specified library file,
where <key> selects the file lib<key>.a.
-L<dir> Search in directory <dir> for files specified by -l<key>.
-ma Generate inline calls to the "alloca" function as if
"#pragma alloca" directives were in the source file.
-M Generate information to be included in a "make"
description file; output goes to .u file.
-o<name> Name the executable file <name> instead of a.out.
When used with the -c option and one source file,
name the object file <name> instead of filename.o.
If <name> is the name of a directory, files generated by
the compiler will be placed into that directory.
-O Optimize generated code.
-O2 Equivalent level of optimization as -O in the
previous release.
-O3 Perform some memory and compile time intensive
optimizations in addition to those executed with -O2.
The -O3 specific optimizations have the potential to
alter the semantics of a user's program.
The compiler guards against these optimizations at -O2
and the option -qstrict is provided at -O3 to turn off
these aggressive optimizations.
-O4 (C) Equivalent to -O3 -qipa with automatic generation of
architecture and tuning option ideal for that platform.
-p Generate profiling support code.
-pg Generate profiling support code including BSD
profiling support.
-P Preprocess but do not compile; output goes to .i file.
-Q (C++) Requests inlining of inline routines.
-Q! (C++) Turns off inlining.
-Q<x>, -qinline<x>
(C) Inline all appropriate functions where x can be
one of the following:
! Not inline any function
=<lc> Inline if number of source statement in
function is less than the number specified
in <lc>.
-<nm> Not inline function listed by names in <nm>
+<nm> Attempt to inline function listed by names
in <nm>.
-r Permits the output file to be produced even if it
contains unresolved symbols.
-S Produce a .s file for any source file processed by the
compiler.
-t<x> Apply prefix from the -B option to the specified program <x>,
where x can be one or more of the following:
p = preprocessor
c = compiler frontend
b = compiler backend
i = compiler inliner
a = assembler
l = linkage editor.
m = 'munch' utility
f = C++ name demangler utility
I = inter procedural analysis compile phase
L = inter procedural analysis link phase
-U<name> Undefine name as in #undef directive.
-v Displays language processing commands as they
are invoked by xlC; output goes to stdout.
-w Suppress informational, language-level, and
warning messages.
-W<x,y> Give the options <y> to the compiler program <x>
where x can be one or more of the following:
<p,c,b,i,a,l,I,m,f>
-y<x> Specify compile-time rounding of constant floating-point
expressions, where <x> can be one of the following:
n = round to nearest
m = round toward minus infinity
p = round toward positive infinity
z = round toward zero. |
|