Re: [mpir-devel] Re: MPIR.2.5.1 shared library using mingw64

2012-06-10 Thread Brian Gladman
On Sun, 10 Jun 2012 23:07:38 +0100 Jason Moxham wrote: > > The other way of doing this is to add > > ; PROLOGUE(symbol) > > lines to my files - the semicolon means that YASM ignores these lines > but I think that configure will see them. > > If this doesn't work, I can add mac

Re: [mpir-devel] Re: MPIR.2.5.1 shared library using mingw64

2012-06-10 Thread Jason Moxham
The other way of doing this is to add ; PROLOGUE(symbol) lines to my files - the semicolon means that YASM ignores these lines but I think that configure will see them. If this doesn't work, I can add macros for PROLOGUE(x) and GLOBAL_FUNC(x) that evaluate to NUL in YASM but

Re: [mpir-devel] Re: MPIR.2.5.1 shared library using mingw64

2012-06-10 Thread Cactus
On Sunday, 10 June 2012 19:49:37 UTC+1, Jason Moxham wrote: > > On Sunday, 10 June 2012 17:15:09 UTC+1, Jason Moxham wrote: > > > > > > > Hi > > > > > > I figured out what going on here , basically configure is failing to > > > populate config.h with the required > > > #define HAVE_NATIVE_

Re: [mpir-devel] Re: MPIR.2.5.1 shared library using mingw64

2012-06-10 Thread Jason Moxham
On Sunday, 10 June 2012 17:15:09 UTC+1, Jason Moxham wrote: > > > > Hi > > > > I figured out what going on here , basically configure is failing to > > populate config.h with the required > > #define HAVE_NATIVE_mpn_addmul_2 1 > > and all the others , it has always done this on mingw64 but bec

Re: [mpir-devel] Re: MPIR.2.5.1 shared library using mingw64

2012-06-10 Thread Cactus
On Sunday, 10 June 2012 17:15:09 UTC+1, Jason Moxham wrote: > > > > Hi > > > > I figured out what going on here , basically configure is failing to > > populate config.h with the required > > #define HAVE_NATIVE_mpn_addmul_2 1 > > and all the others , it has always done this on mingw64 but b

Re: [mpir-devel] Re: MPIR.2.5.1 shared library using mingw64

2012-06-10 Thread Jason Moxham
On Sun, 10 Jun 2012 08:07:39 -0700 (PDT) jason wrote: > Hi > > I figured out what going on here , basically configure is failing to > populate config.h with the required > #define HAVE_NATIVE_mpn_addmul_2 1 > and all the others , it has always done this on mingw64 but because of > the way the C

Re: [mpir-devel] Re: MPIR.2.5.1 shared library using mingw64

2012-06-10 Thread Brian Gladman
On Sun, 10 Jun 2012 08:07:39 -0700 (PDT) jason wrote: > Hi > > I figured out what going on here , basically configure is failing to > populate config.h with the required > #define HAVE_NATIVE_mpn_addmul_2 1 > and all the others , it has always done this on mingw64 but because of > the way the C

[mpir-devel] Re: MPIR.2.5.1 shared library using mingw64

2012-06-10 Thread jason
Hi I figured out what going on here , basically configure is failing to populate config.h with the required #define HAVE_NATIVE_mpn_addmul_2 1 and all the others , it has always done this on mingw64 but because of the way the C file redc_2 uses addmul_2 it now causes a problem.A quick fix is to de

Re: [mpir-devel] Rationale for using YASM?

2012-06-10 Thread Bill Hart
On 9 June 2012 20:00, Jason Moxham wrote: > I had a quick read of the license and it's nothing special , so mingw64 users > probably wont have an objection , but I can imagine other (linux users for > example)people who will object to downloading a package which contains some > parts which have

Re: [mpir-devel] Fwd: MPIR-2.5.1 bug

2012-06-10 Thread Bill Hart
The limit is in the mpz type. It uses an int for the number of limbs, i.e. limit is 2^32 limbs = 2^38 bits. So your number must be < 2^38. There are no plans to remove this restriction at the moment. But you can use the mpn functions, which are not so limited. Bill. On 10 June 2012 09:03, Jason

Re: [mpir-devel] Fwd: MPIR-2.5.1 bug

2012-06-10 Thread Jason Moxham
Hi Sorry for the delay. I seem to remember that 64bit builds are limited to 2^37 bits (16GB) , I read it somewhere on the GMP website ,I have no idea which part of MPIR has this restriction. Jason --- MPIR-2.5.1 bug #include #include

[mpir-devel] Fwd: MPIR-2.5.1 bug

2012-06-10 Thread Jason Moxham
Whoops , found this old email on my other computer :( If there are any other emails that I should of have answered please repost them. Thanks Jason -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@