Scroll to navigation

pike(1) Pike Manual pike(1)

NAME

pike - pike compiler and interpreter

SYNOPSIS

pike [ -driver-options ... ] [ script [ script-arguments ... ] ]

DESCRIPTION

Compiler and interpreter for the Pike programming language.

OPTIONS

The following options are supported by the loader:

Increase the debug level of the peep-hole optimizer with 1 (debug).
Set the debug level of the peep-hole optimizer to num (debug).
Define the preprocessor symbol symbol to 1.
Define the preprocessor symbol symbol to value.
Increase the debug level with 1 (debug).
Set the debug level to num (debug).
Increase the debug level of the Pike compiler (debug).
Resets the debug malloc at every garbage collection (debug).
Windows only: Enable Windows error dialogs when dll files cannot be loaded.

It is common that Pike has modules which are linked to dll files that are not available in all installations. Therefore these error dialogs are disabled by default so that Pike does not hang on them when attempting to load certain modules.

However, the error dialogs are the only way to see which dll's that could not be loaded, so this option may be necessary to find out why a certain module does not load.

Turns off the peep hole optimization (debug).
Debug signals (debug).
Turn off tail recursion optimization (debug).
Enable extra checks in the thread library, e.g. mutex sanity checks (debug).
Increase the debug level of the global optimizer with 1 (debug).
Set the debug level of the global optimizer to num (debug).
Use master_program instead of the ordinary master program.
Increase the level of profiling with 1 (debug).
Set the level of profiling to num (debug).
Enable stack profiling (debug).
End execution after executing num Pike instructions.
Turn on runtime checking of arguments to function calls, and soft casts.
Turn on #pragma strict_types for all files.
Set Pike stack size to num (minimum is 256).
Set the pike C-level thread stack size to num.
Increase the level of runtime trace with 1 (debug).
Set the level of runtime trace to num (debug).
Log the gc runs to stderr.

The following options are supported by the default master program:

Print help message and exit.
Execute expr and exit.
Execute internal tool toolname from Tools.Standalone. Omit toolname for a list of available tools.
Just run the preprocessor.
Append dir to the include path.
Append dir to the module path.
Append dir to the program path.
Print version of Pike and exit.
Set the compatibility version to Pike version major.minor.
Enable warnings.
Disable warnings.
Set the peephole optimizer debug level (debug).
Turn on the autoreload mode of the master.
Turn on tracing of the Pike compiler (debug).
Increase or set the debug level (debug).
--debug-without=feature
Hide feature from the resolver (debug).
Print the Pike version number to stderr, e.g. "8.0.10\n"
List some of the features that are enabled in this Pike binary and exit (debug).
Show various information about this Pike installation and exit (debug).
Set the global optimizer debug level (debug).
Enable warnings for failing #if constant() expressions.
Show the paths pike will use and exit (debug).
Increase the trace level (debug).
Set the trace level to num (debug).

OPERANDS

The following operand is supported:

A path to a script written in Pike to be compiled and then executed. Everything on the commandline after the script is passed as arguments to the main() function in the script.

If no script is specified, pike will start in interactive- (Hilfe) mode.

REGISTRY KEYS

On Windows, Pike is affected by the following keys in the registry:

HKEY_CURRENT_USER\Software\Pike\8.0\PIKE_MASTER HKEY_LOCAL_MACHINE\Software\Pike\8.0\PIKE_MASTER

Specifies the name of the master program (overridden by -m). If these keys are not set (the default), then Pike finds the master by relative path from pike.exe.

ENVIRONMENT

Pike is affected by the following environment variables:

Specifies the name of the master program (overridden by -m).

Depending on operating system Pike may be affected by the following environment variables:

Overrides the other LC_* variables.
Specifies the character collation sequence.
Specifies the character classification.
Specifies the language of the system messagedatabase.
Specifies the decimal and thousand delimiters.
Specifies the date and time formats.

The default master program is affected by the following environment variables:

List of directories separated with colon (:), to search for include-files.
List of directories separated with colon (:), to search for program-files.
List of directories separated with colon (:), to search for modules.
If set disables truncation of paths in backtraces.
If set and LONG_PIKE_ERRORS is not set, truncates paths to just the filename in backtraces.
The maximum number of elements in arrays to describe in backtraces.

Note that the above environment variables have effect before the default master program attempts to load the Getopt(3P) module, which occurrs before the master program arguments are parsed.

EXIT STATUS

The following exit values are returned:

0
Successfull completion.
>0
An error occurred. See output on stderr (fd #2) for reason.

FILES

/usr/local/pike/8.0.*/lib/master.pike
default master program
/usr/local/pike/8.0.*/lib/modules/*
default module directory
/usr/local/pike/8.0.*/lib/?.?/*
backward compatibility modules
/usr/local/pike/8.0.*/lib/include/*
pike include files
/usr/local/pike/8.0.*/tools/pike.el
emacs fontlock definitions for pike-mode
/usr/local/pike/8.0.*/include/pike/*
C-include files
/usr/local/pike/8.0.*/man/*
manual pages for pike

SEE ALSO

hilfe(1), Getopt(3P), environ(5).

Pike Programming Tutorial

Pike Reference Manual

Pike: an Introduction by H. William Welliver III and Martin Bähr, 2007.

http://pike.ida.liu.se/

$Date: 2008/08/12 20:18:50 $ Pike