The BS2000 C/C++ Compiler can be called from and controlled with options from the BS2000 (SDF) or POSIX (POSIX shell) environment.
This manual describes controlling the compiler from the POSIX environment, where the following POSIX commands are available:
| Calls the compiler as a C compiler |
| Calls the compiler as a C++ compiler |
| Calls the global listing generator |
The options and operands of the above calling commands cover most of the services and functions available for controlling the compiler via the SDF interface (see the “C/C++ User Guide” [4]). The syntax of the POSIX commands is based on the definition in the XPG4 Standard or on the normal UNIX shell commands.
The cc
, c11
, c89
and CC
calling commands also include linking the compiled objects together to form an executable program.
The software products CRTE and POSIX-HEADER are required for creating and running C and C++ programs in the POSIX environment. CRTE also contains the standard header files and modules of the C and C++ library functions. The headers of CRTE and also the POSIX headers are required for using the POSIX library functions.