开发工具 v er1.0 第 1 页 共 21 页 CC 编译器的使用文档 VisualAge C++ Professional / C for AIX Compiler, Version 5 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. 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. 开发工具 v er1.0 第 2 页 共 21 页 -+ 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 li...