The source code and header files may be provided in EBCDIC or ASCII code. The default is EBCDIC in the POSIX file system and ASCII in the file systems of remote UNIX hosts. All files in a file system (POSIX file system or merged in, remote file system) must be available in the same codeset. The compiler does not query the codeset of individual files, it only queries the codeset of a file system. The files of ASCII file systems are converted automatically to EBCDIC, as long as the POSIX variable IO_CONVERSION is set to YES.
The the source code file names must contain one of the following standard suffixes:
| C source code ( |
| |
C++ source code before the preprocessor run ( | |
| C source code ( |
| C++ source code after the preprocessor run ( |
In addition to the above suffixes, the -Y F
option (see "General options") can be used to define additional input file suffixes which are then also accepted by the compiler.
Source code and include members stored in BS2000 files or PLAM libraries cannot be processed with the compiler in the POSIX file system.
The POSIX bs2cp
command is provided for transferring BS2000 files and PLAM library members into the POSIX file system and vice versa. The POSIX edt
command is provided for editing POSIX files in the POSIX shell. If the POSIX shell is accessed via rlogin
, the vi
editor may also be used. See the manual “POSIX Commands” [3].
The standard header files for the C and C++ library functions available with CRTE are in the standard directories /usr/include
, /usr/include/sys
, /usr/include/CC
, /usr/include/CXX01 and /usr/include/CXX02
. These directories are searched automatically by the compiler (or preprocessor).