Compiling in Windows
Following is a typical compiler command line for C source files in Windows:
This is how the command uses the command line parameters:
- The
cl
command performs a variety of functions including linking an executable. The/c
parameter suppresses the link process so that the command only generates an object file.- The
/I
parameter informs the compiler where it can find theproesql.h
header file needed to define ESQL declarations in your application. The example shows the default installation directory for ESQL in which this header file is located. Ifproesql.h
resides in a different directory on your system, specify it instead.Using proesql.h Function Prototypes
If you are using the ESQL function prototypes defined in the
proesql.h
header file, define either the _WINDOWS or FPROCS C preprocessor constants to the compiler. You can define these constants with the /D option (for example, /DFPROCS) or specify the /GA option to automatically define the _WINDOWS constant.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |