Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Providing the source code and header files

&pagelevel(4)&pagelevel

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, C 

C source code (cc, c11c89) or C++ source code (CC) before the preprocessor run

cpp, CPP, cxx, CXX, cc, CC, c++, C++


C++ source code before the preprocessor run (CC)

i

C source code (cc, c11c89) after the preprocessor run

I

C++ source code after the preprocessor run (CC)

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).