1GP2C-RUN(1) PARI GP2C-RUN(1)
2
3
4
6 GP2C-RUN - The GP to C compiler driver
7
9 gp2c-run [gp2c options] [file.gp]
10
11 Compile file.gp with gp2c and launch a gp session where the functions
12 of functions of file.gp are preloaded. Any options are passed to gp2c.
13
14 gp2c-run file.c
15
16 Compile file.c and launch a gp session where the functions of file.c
17 are preloaded. the file file.c must have suitable GP;install() lines.
18
19 This is especially useful if you manually modify the file.gp.c produced
20 by gp2c-run. In this case it is advised to rename it to file.c to avoid
21 subsequent calls of gp2c-run to overwrite your changes.
22
24 file.gp.c The C output of gp2c.
25
26 file.gp.so
27 The GP loadable module.
28
29 file.gp.run
30 The commands to load the module. Once a module is compiled, you
31 can load it inside a gp session by running this script.
32
34 GP2C Path to the gp2c compiler, default: /usr/bin/gp2c
35
36 GP Path to the gp calculator, default: /usr/bin/gp
37
39 file.gp.c The C output of gp2c.
40
41 file.gp.so
42 The GP loadable module.
43
44 file.gp.run
45 The commands to load the module. Once a module is compiled, you
46 can load it inside a gp session by running this script.
47
49 Copyright 2000-2018 The PARI Group
50
51 GP2C is free software, covered by the GNU General Public License, and
52 you are welcome to change it and/or distribute copies of it under cer‐
53 tain conditions. There is absolutely no warranty for GP2C.
54
56 The GP2C manual, gp2c(1), gp2c-dbg(1), gp(1), gcc(1)
57
58
59
60
61GP to C compiler driver November 2001 GP2C-RUN(1)