Compiling and Linking the Program
The two example modules must be compiled and then linked into a single program. You can select the Build option in the Genero Studio Project view to perform these tasks or use command line tools.
From the command line:
fglcomp custmain.4gl
fglcomp custquery.4gl
This produces the object modules custmain.42m and custquery.42m, which must be linked to produce the program cust.42r:
fgllink -o cust.42r custmain.42m custquery.42m
Or, compile both modules and link at the same time:
fgl2p -o cust.42r custmain.4gl custquery.4gl