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
> 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:
sudo apt install pari-gp
sudo apt install pari-gp2c
and you have gp2c and gp2c-run installed.