The esql command
To determine which type of HCL Informix® general libraries
to link with your application,
the esql command supports the command-line options
in the following table.
| Version of Informix® libraries to link | The esql command- line option | See |
|---|---|---|
| Shared libraries | No option (default) | Link shared Informix general libraries |
| Static libraries | -static | Link static Informix general libraries. |
| Thread-safe shared libraries | -thread | Linking thread-safe Informix general libraries to an ESQL/C module on a UNIX operating system and Linking thread-safe Informix general libraries to an ESQL/C module in a Windows environment |
| Thread-safe static libraries | -thread -static | Create a dynamic thread library on UNIX operating systems |