.TH GP2C-RUN "1" "November 2001" "GP to C compiler driver" PARI
.SH NAME
GP2C-RUN \- The GP to C compiler driver
.SH DESCRIPTION
gp2c-run \fI[gp2c options] [file.gp]\fR
.PP
Compile \fIfile.gp\fR with \fBgp2c\fR and launch a \fBgp\fR session where the
functions of functions of \fIfile.gp\fR are preloaded.  Any options are passed
to \fBgp2c\fR.
.PP
gp2c-run \fIfile.c\fR
.PP
Compile \fIfile.c\fR and launch a \fBgp\fR session where the functions of
\fIfile.c\fR are preloaded. the file \fIfile.c\fR must have suitable
\fPGP;install()\fR lines.
.PP
This is especially useful if you manually modify the \fIfile.gp.c\fR produced
by \fBgp2c-run\fR. In this case it is advised to rename it to \fIfile.c\fR to
avoid subsequent calls of \fBgp2c-run\fR to overwrite your changes.
.SH "FILES"
.I file.gp.c
The C output of \fBgp2c\fR.
.TP
.I file.gp.so
The GP loadable module.
.TP
.I file.gp.run
The  commands to load the module. Once a module is compiled, you can
load it inside a \fBgp\fR session by running this script.
.SH "ENVIRONMENT"
.TP
.I GP2C
Path to the \fBgp2c\fR compiler,
default: @mybindir@/gp2c
.TP
.I GP
Path to the \fIgp\fR calculator,
default: @GP_PATH@
.SH "FILES"
.I file.gp.c
The C output of \fBgp2c\fR.
.TP
.I file.gp.so
The GP loadable module.
.TP
.I file.gp.run
The  commands to load the module. Once a module is compiled, you can
load it inside a \fBgp\fR session by running this script.
.SH "COPYING"
Copyright 2000-2006 The PARI Group
.PP
GP2C is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under
certain conditions.  There is absolutely no warranty for GP2C.
.SH "SEE ALSO"
The GP2C manual,
.IR gp2c(1),
.IR gp(1),
.IR gcc(1)

