Home | Previous Page | Next Page   Creating User-Defined Routines > Developing a User-Defined Routine >

Compiling 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 IBM Informix BladeSmith development tool, which is part of the DataBlade Developer's Kit, 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 IBM Informix: DataBlade Developer's Kit User's Guide.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]