Build on UNIX

For servers that run on UNIX, you must build shared library files that contain your C component methods. After building the shared library, copy it to the cpplib directory of your EAServer installation.

EAServer Manager generates a make.unix file when you generate the component skeleton. (See “Generate C component files” for instructions on generating code with EAServer Manager.)

To build your component, run the following command:

make -f make.unix 

This command builds a shared library named libComp.so, where Comp is the EAServer Manager name of the component.

NoteIf you edit the generated make.unix file, rename the edited version so that it is not overwritten if you regenerate the skeleton files.