Gen RI Triggers for Linux Static/Archive versus Dynamic/Shared
search cancel

Gen RI Triggers for Linux Static/Archive versus Dynamic/Shared

book

Article ID: 207316

calendar_today

Updated On:

Products

Gen

Issue/Introduction

Under Linux attempting to build a Gen application static RI Trigger Library <RI_Filename>.a from RI_Filename.rmt file but only see Dynamic library <RI_Filename>.so created.

Environment

Gen Build Tool (Implementation Toolset) for UNIX/Linux

Resolution

In order to make the RI Trigger Library Static (Archive) during the build process, requires setting the Build Tool profile token 'OPTIONS.OPT.LIBTYPE=ARCHIVE' within the user profile file that is referenced during the build process.
The profile token can be set to 'SHARED' or 'ARCHIVE'. If the token is not set, the default is 'SHARED'. 
Reference documentation page: Gen™ 8.6 > Developing > Working with Build Tool > Profile Token Descriptions

Additional Information

The user profile file referenced during the build process is located in the $HOME directory and has naming convention 'user.<profile_name>.profile'  where <profile_name> is used for the Build Tool command line -f parameter. For further details please see Using the Build Tool Command-line Client.