10.4.1 Passing a path to the application

Suppose the system administrator has installed the SWI-Prolog runtime environment in /usr/local/lib/rt-pl-3.2.0. A user wants to install gnat, but gnat will look for its configuration in /usr/local/lib/rt-pl-3.2.0/gnat where the user cannot write.

The user decides to install the gnat runtime files in /users/bob/lib/gnat. For one-time usage, the user may decide to start gnat using the command:

% gnat -p gnatdir=/users/bob/lib/gnat

Tags are associated to your profile if you are logged in