Previous Topic

Next Topic

Mixing Precompiler/Compiler Options in the esqlc Command

The esql command can include both precompiler and compiler options. For instance, the following command uses the -o compiler option and the +P precompiler option:

esqlc -o report +P rep1.pc rep2.pc
  • The -o option names the executable generated by the compiler.
  • The +P option runs the C preprocessor before translating c-treeSQL statements. If c-treeSQL statements embedded in the files rep1.pc and rep2.pc use symbolic names specified through #define precompiler directives, then the esqlc command must include the +P option.