../src/gp2c [-gihfltvydSWTGV] [file.gp]
GP to C translator.

user option:
 -g : Generate automatic garbage collection code.
 -iN: Set indentation level to N spaces (default 2).
 -W : Output information about global variable.
 -p <prefix>: Prefix user-defined symbol by <prefix> to avoid conflict.
 -S : Assume strict declarations for functions.
query options:
 -h : This help.
 -f : Dump information about functions to stderr.
 -l : Output the list of functions known to the compiler.
 -t : Output the table of types known to the compiler.
 -v : Output version information and exit.
debugging options:
 -d : Increase debugging level.
 -y : Switch parser to debug mode.
 -T : Output syntactic tree in treetool format.
 -TT: Output syntactic tree in VCG/GRL format.
 -G : Generate GP code in place of C code. Don't smile.
 -V : Do not clean up variables.

file.gp: file to be processed, default to stdin.
The generated C code is output to stdout.

You can automated the process of compiling with
the script gp2c-run.

The manual is in doc/gp2c.dvi

