[Ecls-list] ECL on LLP64 machines

Gabriel Dos Reis gdr at integrable-solutions.net
Thu Aug 12 15:35:28 UTC 2010


On Wed, Aug 11, 2010 at 5:16 PM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> On Wed, Aug 11, 2010 at 4:39 PM, Gabriel Dos Reis
> <gdr at integrable-solutions.net> wrote:
>>
>> I did try last night to get ECL use intptr_t, when available, for
>> cl_fixnum.
>> That discovered some overflow arithmetics in the C code.
>
> I attach a patch that uses "long long" when neither of "long" nor "int" fit.
> Unfortunately I have no way to test it.
> Juanjo

Hi Juanjo,

Thanks for the patch!
The build failed earlier in the GC component:

In file included from
c:/Docume~1/gdr/Desktop/ecl.cvs/src/gc/include/private/gc_priv.h:68:0,

                 from c:/Docume~1/gdr/Desktop/ecl.cvs/src/gc/allchblk.c:19:

c:/Docume~1/gdr/Desktop/ecl.cvs/src/gc/include/private/gcconfig.h:997:7:
error: #error This should be handled as X86_64

c:/Docume~1/gdr/Desktop/ecl.cvs/src/gc/include/private/gcconfig.h:1843:0:
warning: "MACH_TYPE" redefined

c:/Docume~1/gdr/Desktop/ecl.cvs/src/gc/include/private/gcconfig.h:995:0:
note: this is the location of the previous definition

c:/Docume~1/gdr/Desktop/ecl.cvs/src/gc/allchblk.c:21:9: warning:
'GC_use_entire_heap' redeclared without dllimport attribute: previous
dllimport ignored


Is the GC library known to work on Windows 64-bit?

-- Gaby




More information about the ecl-devel mailing list