Environment variables / Genero environment variables |
Defines the search paths to load program modules.
The FGLLDPATH environment variable defines the search paths to load C extensions and modules, and by default to find sources with the debugger.
A program can be composed by several p-code modules (.42m) and can use C extensions. When linking and when executing the program, the runtime system must known where to search for these modules. You can use the FGLLDPATH environment variable to define the search paths to load C extensions and p-code modules.
FGLLDPATH must contain a list of paths, separated by the operating system specific path separator. The path separator is ":" on UNIX™ platforms and ";" on Windows™ platforms.
The FGLLDPATH variable is used at link time and at run time.
The directories are searched for the modules in the following order:
If FGLSOURCEPATH is not defined, the debugger will use FGLLDPATH to find program sources.
FGLLDPATH="/user/modules1:/user/modules2" export FGLLDPATH