6.1 A4GL compilers
Aubit4GL provides the following compilers:
-
4glc which translates x4GL code into C
-
4glpc which is a wrapper to call 4glc and gcc (or esql/c)
-
fcompile which creates a binary form file from source
-
amkmessage which creates a binary help file from source
On Linux/Unix systems these programs may be invoked as arguments to the aubit script, e.g.
aubit 4glpc myprog.4gl -o myprog
The aubit program sets the environment from Aubit4GL configuration files and ensures that LD_LIBRARY_PATH includes the appropriate A4GL libraries. You can omit it and use 4glc/4glpc etc directly if you setup LD_LIBRARY_PATH & PATH correctly, as well as any settings specific to your installation.
This file if first read from Aubit 4GL installation directory, as specified by $AUBITDIR, and then, if it exists, from users home directory, as specified by $HOME, effectively overriding settings from $AUBITDIR/.a4glrc that exist in both places. It also accepts a number of command line switches, and environment variables.