Instalation Note:

If the root of the PARI source tree is not in . , .. , or ../.. , 
please link it to `./pari' with "ln -s":

ln -s /path/to/pari/source/tree ./pari

Run `./configure' .
Then run `make' .

You can run `make check' for an automated check, but it requires
your environment being properly detected, so it may fail even if gp2c is
usable. Also the installed version of PARI/GP must match the version
of the source tree. The "args" check fails if the version mismatch.

You can try gp2c in this directory with the script ./gp2c .

You can do a "compile-and-run" with the script ./gp2c-run .

You can install gp2c and gp2c-run (in /usr/local/bin) by running
make install
as root.

configure support standard configure script options, for example to install 
in /usr/bin use

./configure --prefix=/usr

The following gp2c specific option are recognized.

  --enable-maintainer-mode enable make rules and dependencies not useful
                          (and sometimes confusing) to the casual installer
  --with-perl  Perl is needed to compile the description files, but gp2c
               come with a precompiled description for PARI 2.1. so you can
	       use it without perl.  Default is to use perl if it is found.
	       You can specify the path to perl with --with-perl=PATH.
  --with-pari  PARI configuration is needed to build plug-in.
               gp2c itself can be compiled without it, but gp2c-run and 
	       'make check' will not work, and gp2c will produce code for 
	       PARI 2.1. It is higly recommended you enabled it. The default
	       is to look for 'pari' in .,.. or ../.. or fails; You can 
	       specify the path to the PARI source tree with --with-pari=PATH
	       or link it to ./pari. 
	       You can insist to build gp2c without PARI configuration with
	       --without-pari.	
  --enable-debug Configure for PARI debugging version 
