﻿The versions of GP/PARI after  2.3.5 are not supported!
The versions of GP/PARI before 2.9.0 do not support compilation with MS’ CRT library!  (longsize=4)
Strawberry Perl uses MS’ CRT library!

This is a deadlock.

==============================================================

There may be a way out — but it needs to be explored by somebody.  (Not me!)

Below are (conjectural) steps.  (Remember that GP/PARI and Math::Pari use completely different recipes for build!  The latter
should follow the former — but currently there is no attempt to do anything special on Win64!)

• The current version 2.030510 of Math::Pari can be BUILT with GP/PARI v2.9.0 on 32-bit windows (use the option pari_tgz=ARCHIVE
  for Makefile.PL).
     (A lot of tests fail (or crash), but this is at least SOMETHING.)
• When building GP/PARI on windows-64bit, a script ..../config/convertllp64 is run.
• Math::Pari expects the that PARIDIR/src should be used, so PARIDIR/src should be renamed (to PARIDIR/src-old or somesuch)
  and PARIDIR/src64 (built on the previous step) should be renamed to PARIDIR/src.
• It may happen that GP/PARI also does some extra steps in its build process.  One should expect surprises.
    (If so, one may want to compare the outputs from 32-bit build of GP/PARI and from a 64-bit build.  I do not know how to build
     them.)

(One should be careful about the order: the first step should auto-patch in Math::Pari way, the second should patch in GP/PARI
way.)

  perl Makefile.PL pari_tgz=../pari-2.9.0.tar.gz  2>&1 | tee -a 00c00
    <<< Do (the analogue of) config/convertllp64 inside the subdirectory pari-2.9.0 >>>
    <<< rename src to src-old, and src64 back to src >>>
  dmake realclean			# Prepare for rebuilding the configuration files from the llp64-patched version
  perl Makefile.PL 2>&1 | tee -a 00c01	# Should use the converted pari-2.9.0 directory
  dmake test 2>&1 | tee -a 00t01	# Finger-crossed: expect 2 crashes and Failed 18/200 test programs. 131/852 subtests failed.

I need to know about your successes and failures.
