Pass options to the C compiler

The esql command processor passes any unrecognized arguments in the command line to the C compiler.

For example, because esql does not recognize /Zi as an option, the following esql command passes the /Zi option to the C compiler:
esql /Zi demo1.ec
If you want to pass C compiler options that have the same names as Informix® ESQL/C processor options, precede them with the -cc option. The esql command ignores any options between the -cc and the next occurrence of any of these arguments:
  • -l (Windows only)
  • -r (Windows only)
  • -f (Windows only)
  • The Informix® ESQL/C source file.