[Ecls-list] gmp bitness on 32bit msvc
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Tue Feb 14 20:06:03 UTC 2012
On Tue, Feb 14, 2012 at 3:04 PM, red plait <redplait at gmail.com> wrote:
> So why ECL don`t have separate bitness option for integer size ? How
> hard it can be added ?
>
Not too hard, given that ECL controls how gmp is built. Maybe you will have
to change the gmp makefiles to add further flags and make GMP_... macros
depend on some define. I would advise to define __GMP_BITS_PER_MP_LIMB
and SIZEOF_MP_LIMB_T
and the other macros as a function of something like FIXNUM_BITS -- this
will be necessary because gmp.h is included by ECL also when compiling
other people's code.
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120214/589fdff0/attachment.html>
More information about the ecl-devel
mailing list