EAServer generates a make.unix file when you generate the component skeleton as described in “Generating C++ component files”. To build your shared library, run the following command:
make -f make.unix
On Solaris, you must use a compiler and linker that is compatible with version 6.x compilers. The library and binary format is different between version 6.x and version 4.x compilers.
The generated UNIX make file for C++ components works on other platforms without changes. Platform-specific information is defined in the file make.include.platform, where platform is the name returned by the command:
uname -s
The make.include.platform includes the necessary settigngs to run the compiler and linker in the component make file. You may need to edit these settings if your compiler and linker are not installed in the standard location, or you use different software.
After building the shared library, copy it to the cpplib directory of your EAServer installation.
If you do not place the component shared library in
the EAServer cpplib subdirectory, the directory
containing the shared library must be specified in the shared library
search path environment variable for your platform (for example,
LD_LIBRARY_PATH for Solaris).