Programming tools / Command line tools |
The fglmkext tool compiles and links a user C Extension.
fglmkext [options] source.c [...]
Option | Description |
---|---|
-V | Display version information for the tool. |
-h | Displays options for the tool. Short help. |
-o libname | Output file specification, defines the C Extension library name. |
The fglmkext command line tool compiles and links a C Extension library.
fglmkext myext.c
If a single C source file is provided, must define the usrFunctions C extension interface structure as well as the functions to be used from a BDL program.
In order to specify a library name, use the -o option, several C source files can also be specified. For example, on a UNIX platform:fglmkext -o mycext.so module_a.c module_b.c