On Monday, 14 January 2013 18:37:16 UTC, MJ Michaels wrote:

> Is it possible to configure the VC10 build in MPIR 2.6.0 to generate 
> 64-bit limbs?  I am able to do this, but have to edit mpir.h by hand to get 
> it to work, and I'm wondering if there's just some build option that I'm 
> missing.  I basically just remove references to "#ifdef _WIN64".  Is there 
> a reason why this is a bad idea?
> Thanks in advance.
> Mj Michaels


Unfortunately there is no standard Visual Studio build that does what you 
want.   As you found, MPIR on Windows is set up to use 32-bit limbs on 
win32 and 64-bit limbs on x64.

Using 64-bit limbs on win32 is likely to work for the generic C version of 
MPIR but it will fail for all the assembler based builds since all the x86 
assembler code assumes that limbs are 32-bits.

So its certainly not a good idea unless you limit yourself to the generic C 
build.  And here, of course, you are on your own since it is not a tested 
configuration.

       Brian

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/mpir-devel/-/06k0xIAxrgEJ.
To post to this group, send email to mpir-devel@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to