[Ecls-list] gmp bitness on 32bit msvc

red plait redplait at gmail.com
Tue Feb 14 14:04:04 UTC 2012


Hi
It seems that now bitness of gmp (and size of ECL_LONG_LONG_BITS)
depends on building architecture of ECL. But it`s possible to build
gmp under 32bit with
#        define __GMP_BITS_PER_MP_LIMB    64
#        define GMP_LIMB_BITS             64
#        define SIZEOF_MP_LIMB_T           8
#        define _LONG_LONG_LIMB		   1

in gmp.h
This is bcs msvc support long long and unsigned long long as 64bit
numbers even in 32bit code:
http://msdn.microsoft.com/en-us/library/cc953fe1%28v=VS.80%29.aspx
After such build ecl_min.exe hangs on loading of src:lsp;iolib.lsp
I think bcs some lisp code also has implicit assumption about integer size

So why ECL don`t have separate bitness option for integer size ? How
hard it can be added ?




More information about the ecl-devel mailing list