To check the source code file <filename>.cpc of your application program with the C/C++ Precompiler, and so make it executable, perform the following tasks:
...
1.
Use the following call to start the precompiler
and compiler from the command line:
cpc
<precompiler_options> <filename>
<compiler_options>
Specify your preferred precompiler
options and compiler options. The precompiler generates a C file
<filename>.c or a C++ file<filename>.cpp, depending on the chosen precompiler options.
2. Translate this file with your C/C++ compiler. The compiler generates an object file. Depending on your chosen precompiler options, the compiler can be started at the same time as the precompiler, so that the object file can be generated from your source code in a single step.
3. Combine this object file with other object files and libraries until you have an executable program. To do this, call the precompiler linker cpclnk with your chosen options, or include the precompiler runtime environment libpcrl manually.
See also Example: Compiling a MaxDB Application Program