Bill Allombert on Wed, 21 Sep 2016 00:01:48 +0200


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

a kit for cross-compiling pari for mingw on linux


Dear PARI developers,

I have released a kit for cross-compiling pari for mingw on linux at
<http://pari.math.u-bordeaux.fr/pub/pari/windows/paricrossmingwkit.tgz>

Below is the README.

Cheers,
Bill.

Kit for cross-compiling PARI/GP for mingw
-----------------------------------------

This kit provides helper scripts and support binary to cross-compile
PARI/GP for mingw and mingw64 with readline, gmp and perl support.

Note: It is not possible to build PARI 2.7.x for mingw32 and mingw64
from the same source tree. PARI 2.8.x does not have this issue.

To start:
1) Install the cross-compiling environment.
On Debian and Ubuntu this can be achieved by using the scripts
install32 and install64.

2) do in this directory
. ./setup
to set the environment variables (especially PARIKIT).

The following commands can then be executed from a pari source tree:

mkwinebin32 and mkwinebin64: built the stand-alone GP binary
Options:
mkwinebin64 norl : disable readline 
mkwinebin64 all  : build both readline and noreadline version

mkwine32 and mkwine64: build the installer package.

Enjoy!

(source code for GNU GMP, GNU readline and perl is available
at http://pari.math.u-bordeaux.fr/pub/pari/windows/src/)

Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
Tue, 20 Sep 2016 21:29:30 +0000