c/c++
Introduction
ACS offers several versions of the C programming language; a list
is given below. See the references which follow for more information.
COMMAND COMPILER: |
COMMAND: |
cc xlc/c89/bsdcc* xlC |
IBM AIX XL C/C++ Compiler/6000 |
gcc g++ |
GNU C compiler GNU C++ compiler |
Comments
*cc, xlc, ,xlC, c89, bsdcc and related commands on ACS all invoke the IBM AIX XL C/C++ Compiler/6000.
- The default language level for cc is 'extended.'
- The default language level of xlc and c89 is 'ansi.'
- The bsdcc compiler provides BSD compatibility.
References
- cc/xlc/xlC/c89
- Type man cc, man xlc, man xlC, or man c89 to display general information on these commands. Additional documentation may be found in the IBM Documentation Library.
- gcc/g++
- Type man gcc
or man g++. The gcc and g++ compilers
are integrated; consequently, the g++ man pages focus on c++
specific features; the gcc man pages contain a more complete
description of the compiler.
Additional information is available through the Emacs info documentation reader. To access info, start Emacs. Then type:
The GCC topic is at the bottom of the info menu. Press the spacebar to scroll to the bottom of the menu; press m to access the selection command line; type gcc to display the GNU C compiler topics. Press m to access the selection line again; enter the name of the topic you wish to display. Type q to quit the info reader.
<CTRL> h i
(The info documentation reader can be confusing at first; to avoid frustration, try taking the integrated tutorial before attempting to navigate through the menus. Type h to initiate the tutorial.)

