[Ecls-list] gmp bitness on 32bit msvc

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu Feb 16 21:50:56 UTC 2012


On Thu, Feb 16, 2012 at 10:38 PM, red plait <redplait at gmail.com> wrote:

> Yes, but I want to embed ECL in 32bit application which operate with
> 64bit numbers. So I want to have functions ecl_to_uint64_t &
> ecl_to_int64_t for binding making. Unfortunately in current time it
> seems only possibility to have this functions on 32bit - when all
> numbers inside ECL presented as ecl_int64_t which currently can be
> achieved only when _WIN64 defined - see msvc/config.h.msvc6
>

I believe there is a simpler way to achieve this: just teaching ECL (not
GMP) that there exist long long integers in Windows/32. Why not just change
config.h.msvc6 to define ecl_uint64_t also for 32 bits?

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/20120216/dc7b9e96/attachment.html>


More information about the ecl-devel mailing list