Creating Callable Shared Objects

Creating a callable shared object involves two steps:

Both steps are done using Cob.

To run the program you need to do one of the following:

For more details see Packaging Applications.

You can compile the source code file myprog.cbl to a callable shared object as follows:

cob -z myprog.cbl

This creates a callable shared object called myprog.so.

The command:

cob -zg myprog.cbl

creates a callable shared object, and files for use by Animator.

You can also create callable shared objects from .int files and native object code files (.o) files using:

cob -z myprog.int

or:

cob -z myprog.o

See Callable Shared Objects for more information.