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

EXAMPLE

In this example, the ESQLC precompiler passes the -f option to the UNIX platform C Language compiler:

> esqlc +T -f client.pc  

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.

EXAMPLE

In this example, the ESQLC precompiler passes the Zi option to the Windows NT platform C Language compiler:

> esqlc +T +/Zi client.pc  


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095