Compile a C UDR
To compile a C UDR, use a C compiler to compile the source file (.c file extension) into an object file (.o file extension) and create a shared-object file that contains the object file.
Tip: The HCL Informix® BladeSmith
development tool, which is part of the Informix DataBlade Developers Kit (DBDK), automatically
generates makefiles to compile the DataBlade module
code that it generates. It creates a makefile with a .mak extension
for compilation on UNIX or Linux or with a .dsw extension
for compilation on Windows.
A makefile automates compilation of C UDRs. To compile a C UDR into
a shared-object file (with a .bld extension), you only have
to run the appropriate makefile. For more information, see the HCL
Informix
DataBlade Developers Kit User's Guide.