The full set of command-line options is given below:
eval `pl --dump-runtime-variables` cc -I$PLBASE/include -L$PLBASE/runtime/$PLARCH ...
The option can be followed by =sh
to dump in POSIX shell
format (default) or cmd
to dump in MS-Windows cmd.exe
compatible format.
...\My Documents\Prolog
or local equivalent thereof (see
win_folder/2).
The Prolog
subdirectory is created if it does not exist.silent
,
suppressing informational and banner messages. Also available as -q.m
for Mbytes or g
for Gbytes.
The following example specifies 64 Mbytes local stack.
% pl -L64m
A maximum is useful to stop buggy programs from claiming all memory resources. -L0 sets the limit to the highest possible value.4On 64-bit systems there is no relevant limit and -L0 is interpreted as 1Gb. It is possible to ask for larger stack-sizes such as -L32g See section 2.18.
.plrc
(Unix) or pl.ini
(Windows). `-f none'
stops SWI-Prolog from searching for a startup file. This option can be
used as an alternative to -s file that stops
Prolog from loading the personal initialisation file. See also
section 2.2.<script>.rc
. The
default
script name is deduced from the executable, taking the
leading alphanumerical characters (letters, digits and underscore) from
the program-name. -F none stops looking for
a script. Intended for simple management of slightly different versions.
One could for example write a script iso.rc
and then select
ISO compatibility mode using pl -F iso
or make a link from iso-pl
to
pl.% pl <options> -g go,halt -t 'halt(1)'
false
.
See section 9.6.20.1 for
details.;
. On other
systems it is :
. A value is either a term of
the form alias(value) or pathname. The computed aliases are added to file_search_path/2
using asserta/1,
so they precede predefined values for the alias. See file_search_path/2
for details on using this file-location mechanism.The following options are for system maintenance. They are given for reference only.
-DO_DEBUG
flag. System maintenance only.