[PB5.31] GMP 6.0.0a
Re: [PB5.31] GMP 6.0.0a
to complement bbanelli's GMP include, here's the one for MPFR.
it comes with a couple of examples, included in the archive is a Windows x64 dll in case you need it, download http://www.mediafire.com/download/bltf0 ... pfr-pb.zip
it comes with a couple of examples, included in the archive is a Windows x64 dll in case you need it, download http://www.mediafire.com/download/bltf0 ... pfr-pb.zip
Last edited by jack on Wed Mar 09, 2016 7:31 pm, edited 3 times in total.
Re: [PB5.31] GMP 6.0.0a
Jack, what did you use to compile that DLL?jack wrote:to complement bbanelli's GMP include, here's the one for MPFR.
it comes with a couple of examples, included in the archive is a Windows x64 dll in case you need it, download http://www.mediafire.com/download/hcr5a ... pfr-pb.zip
Re: [PB5.31] GMP 6.0.0a
I am not sure but I think I used TDM-gcc it' been a while, but I have to say that the way I did it was a hack, could not get the dll to pass the tests but the static build passed OK
so I extracted the objects from the static lib and did something like this: gcc -shared -static -o libmpfr-4.dll *.o -lgmp
btw I think the mpfr structures should be as follows
so I extracted the objects from the static lib and did something like this: gcc -shared -static -o libmpfr-4.dll *.o -lgmp
btw I think the mpfr structures should be as follows
Code: Select all
Structure mpz Align #PB_Structure_AlignC ; multiprecision integer
mp_alloc.l
mp_size.l
mp_limb.i
EndStructure
Structure mpq Align #PB_Structure_AlignC ; multiprecision rational
mp_num.mpz
mp_den.mpz
EndStructure
Structure mpf Align #PB_Structure_AlignC ; multiprecision floating point
mp_prec.l
mp_size.l
mp_expt.i
mp_limb.i
EndStructure
Structure mpfr Align #PB_Structure_AlignC ; multiprecision floating point
prec.i
sign.l
exp.i
d.i
EndStructure
Structure gmp_randata_lc_t Align #PB_Structure_AlignC
mp_a.i
mp_c.i
mp_m.i
mp_m2exp.i
EndStructure
Structure mp_algdata_t Align #PB_Structure_AlignC
StructureUnion
*_mp_lc.gmp_randata_lc_t
EndStructureUnion
EndStructure
Structure gmp_randstate_t Align #PB_Structure_AlignC
mp_seed.mpz
mp_alg.i
mp_algdata.mp_algdata_t
EndStructure
Re: [PB5.31] GMP 6.0.0a
updated to mpfr-3.1.4 http://www.mediafire.com/download/bltf0 ... pfr-pb.zip
Re: [PB5.31] GMP 6.0.0a
@jack,
Thank you for taking the trouble to do this update.
It is very much appreciated.
Thank you for taking the trouble to do this update.
It is very much appreciated.

DE AA EB
Re: [PB5.31] GMP 6.0.0a
Can you update the links?DLL/so/dylib
Windows
libgmp-10.dll (GMP x86)
libgmp-10x64.dll (GMP x64)
msys-1.0.dll (required!)
Linux
libgmp.so.10.2.0 (GMP x86)
libgmp.so.10.2.x64.0 (GMP x64)
Mac OS X
libgmp.10.dylib (GMP x86)
libgmp.10.x64.dylib (GMP x64)
Re: [PB5.31] GMP 6.0.0a
@AZJIO I'll do my best to find them or recompile and upload; keep you posted, will update in thread!
With my best,
Bruno
With my best,
Bruno
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: [PB5.31] GMP 6.0.0a
Hi, would be fine if someone could upload actual versions of the GMP libraries.
Re: [PB5.31] GMP 6.0.0a
you may download GMP-MPFR
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: [PB5.31] GMP 6.0.0a
Thanks, downloaded. Any chance to get a 64 bit intel version as well (not ARM)?
Re: [PB5.31] GMP 6.0.0a
hello Michael Vogel, the dlls in the link are x86 and x64 dlls, I am confused as to why you think that they are ARM
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: [PB5.31] GMP 6.0.0a
Sorry 'bout that. I got the message "PureBasic - Linker error: Invalid machine type in object '...\dll64\libgmp-10.dll' and a dll info told me (maybe wrongly) it would be an AMD ARM lib. Need some more time for investigations...
Quick update - works fine now, no more errors with PB6.04
Quick update - works fine now, no more errors with PB6.04
