Jason Moxham on Wed, 01 Jul 2009 15:51:37 +0200


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

Re: Pari svn on Windows


On Wednesday 01 July 2009 11:31:25 Bill Allombert wrote:
> On Wed, Jul 01, 2009 at 12:28:23AM +0100, Jason Moxham wrote:
> > Hi
> >
> > Thanks , there is another instanst of alarm(0) in gp.c that needs the
> > #ifdef HAS_ALARM around it , line 1543
>
> Fixed in revision 11806.
>

Thanks

> > Pari svn can then now be built with MSVC 32bit and I suppose 32bit
> > MinGW/MSYS
>
> So, how do you proceed ? How far this can be automated ?
>
> Cheers,
> Bill.

This is how I've done it.
New directory Omsvc   (like Odos) with
-rwxr-xr-x 2 root root   1749 2009-06-29 13:57 buildpari.bat*
-rwxr-xr-x 1 root root   1280 2009-06-26 01:44 gp_init.h*
-rwxr-xr-x 1 root root   8021 2009-06-26 01:44 highlvl.h*
-rwxr-xr-x 1 root root 108365 2009-06-26 01:46 init.h*
-rwxr-xr-x 1 root root   1807 2009-06-27 03:56 paricfg.h*
-rwxr-xr-x 2 root root  19312 2009-06-26 05:30 parilvl0.32.h*
-rwxr-xr-x 2 root root  19084 2009-06-26 05:30 parilvl0.64.h*
-rwxr-xr-x 2 root root  16706 2009-06-26 05:30 parilvl0.C.h*
-rwxr-xr-x 1 root root  75139 2009-06-26 20:56 parse.c*
-rwxr-xr-x 1 root root   3430 2009-06-26 02:33 parse.h*
-rwxr-xr-x 1 root root    530 2009-06-29 13:51 readme.txt*
-rwxr-xr-x 1 root root  13773 2009-06-26 01:44 whatnow.h*

On a out-of-the-box Windows+MSVC machine just run buildpari.bat to make gp.exe
I haven't done the library(should be easy) yet or the tests(?). The *.h *.c 
files above are generated by bison,perl etc by the normal linux/cygwin 
makefile. The paricfg.h is from the old Odos/ and should be rewritten.This 
will include the 64bit version when done , and should only be a modified 
buildpari.bat 

Jason