Progress
Embedded SQL-92
Guide and Reference
Platform-specific C Compiler Commands
When you invoke the ESQLC precompiler, you can include C Language compiler options in the same step. The set of valid compiler options is specific to the compiler you are running. See "Compile, Link, and Run-time Requirements," for environment requirements, grouped by platform.
C Language Compiler Options on UNIX Platforms
To pass compile-time options to the compiler when you invoke the ESQLC precompiler on a UNIX platform, the compiler option must begin with a hyphen ( - ).
EXAMPLEIn this example, the ESQLC precompiler passes the -f option to the UNIX platform C Language compiler:
C Language Compiler Options on Windows NT Platforms
To pass compile-time options to the compiler when you invoke the ESQLC precompiler on a Windows NT platform, prepend a plus sign and a slash ( +/ ) to the compiler option.
NOTE: Exceptions: On Windows NT the precompiler does recognize the -c option (compile only) and the -o option (rename executable program) and passes these options to the C Language compiler.EXAMPLEIn this example, the ESQLC precompiler passes the Zi option to the Windows NT platform C Language compiler:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |