2.4 Command line options
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Overview
        • Command line options
          • Informational command line options
          • Command line options for running Prolog
          • Controlling the stack sizes
          • Running goals from the command line
          • Compilation options
          • Maintenance options
    • Packages

2.4.1 Informational command line options

--arch
When given as the only option, it prints the architecture identifier (see Prolog flag arch) and exits. See also --dump-runtime-variables.
--dump-runtime-variables [=format]
When given as the only option, it prints a sequence of variable settings that can be used in shell scripts to deal with Prolog parameters. This feature is also used by swipl-ld (see section 12.5). Below is a typical example of using this feature.
eval `swipl --dump-runtime-variables`
cc -I$PLBASE/include -L$PLBASE/lib/$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.

--help
When given as the only option, it summarises the most important options.
--version
When given as the only option, it summarises the version and the architecture identifier.
--abi-version
Print a key (string) that represents the binary compatibility on a number of aspects. See section 2.22.