[cffi-devel] New patches: 3-Feb-2006: x86-64

James Bielman jamesjb at jamesjb.com
Fri Feb 10 19:50:33 UTC 2006


"Hoehle, Joerg-Cyril" <Joerg-Cyril.Hoehle at t-systems.com> writes:

> Map cffi:long-long to ffi:sint64 and ffi:uint64.  I have not added
> an ffi:long-long type.  Not ideal, but good enough.
>
> I've now updated CVS CLISP to support interfacing to a 64bit "long
> long" entity on all platforms where some 64bit type is available
> (e.g. gcc, MS-VC).
>
> In other words, cffi-features:no-long-long should be removed from
> cffi-clisp (or you may wish to conditionalize on the version number
> or whatever, but that's too restrictive since e.g. I'm convinced
> that ffi:uint64 has always worked on 64bit machines, where long=long
> long)).
>
> Please test & report if it fails.

Hmm, I've tried to install an x86 CLISP in a 32-bit chroot to prepare
to implement and test this, but I'm a little concerned about the fact
that MACHINE-TYPE still returns X86-64 on a 32-bit x86 build.  Is
there a better way to tell whether we are running an x86 or x86-64
CLISP?

James



More information about the cffi-devel mailing list