Bill Allombert on Sun, 30 Oct 2022 18:15:14 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: gp2c for Windows environment


Le Sun, Oct 30, 2022 at 12:39:45AM +0200, Patrick De Geest a écrit :
> Last week I tried to compile my gp script into C with 'gp2c' to get some
> speed
> 
> improvement but without any succes. I used as my guide the instructions in
> 
> https://pari.math.u-bordeaux.fr/pub/pari/manuals/gp2c/gp2c.html
> 
> but it seems this is not written for a WINDOWS environment. Am I right?
> 
> Must I first install a C or C++ compiler like for instance Eclipse ?
> 
> Can you recommend me an easy to understand source with instructions for
> 
> Windows users to follow.  Sort of gp2c for beginners...

I suggest to use the Windows subsystem for Linux.
We provide a tutorial there:
https://pari.math.u-bordeaux.fr/PDF/PARIwithWindows.pdf
after
sudo apt install pari-gp
do
sudo apt install pari-gp2c
and you have gp2c and gp2c-run installed.

Cheers,
Bill