The files required for controlling the BS2000 C/C++ compiler from the POSIX shell are stored as follows in the POSIX file system:
This chapter provides information concerning the following topics:
/opt/C/bin/c89 /opt/C/bin/cclistgen | Links to the compiler and listing generator installed in BS2000 (PLAM library) |
/opt/C/bin/cc | Links to /opt/C/bin/c89 |
/usr/bin/cc | Link to /opt/C/bin/cc |
/usr/bin/c11 | Link to /opt/C/bin/c11 |
/usr/bin/c89 | Link to /opt/C/bin/c89 |
/usr/bin/CC | Link to /opt/C/bin/CC |
/usr/bin/cclistgen | Link to /opt/C/bin/cclistgen |
Installation of the above POSIX files is described in the Release Notice for C/C++ (BS2000/OSD) V4.0.
C/C++ uses the C and C++ library function header (or include) files and modules supplied with CRTE and the header files supplied with POSIX-HEADER for all POSIX library functions. The libraries for programs lex
and yacc
are part of the software product POSIX-SH.
The C and C++ library function modules are installed in BS2000 as PLAM libraries and not in the POSIX file system. When linking with the cc
/c11
/c89
/CC
commands, the link options are issued to the relevant PLAM libraries as RESOLVE directives (of the LINK EDITOR).
See also the link option -l
x ("Link editor options").
The header files for the C and C++ library functions are stored as POSIX files in the standard /usr/include
, /usr/include/sys
, /usr/include/CXX01
, /usr/include/CXX02
and /usr/include/CC
directories. Installation of these header files is described in the CRTE Release Notice or in the manual “POSIX Basics” [1].