Cross-compiling libffi on ppc 603e

Frédéric fma@gbiloba.org
Wed Feb 3 10:22:00 GMT 2016


Hi!

I cross-compiled Python 2.5.3 for an embedded VME card running a 32bits ppc
603e processor:

    http://www.dpie.com/vme/cpu-powerpc/men-mikro-a15c

All worked fine, except the _ctypes python module, using libffi, which
failed with the following error:

In file included from Modules/_ctypes/libffi/src/prep_cif.c:26:
build/temp.linux2-powerpc-2.7/libffi/include/ffi.h:153:
  #error "no 64-bit data type supported"

(python 2.5.3 uses libffi 3.0.13).

Any idea why I can't cross-compile on this platform? I can see that ppc
32bits is supported. I may need to give an additional env. var. to my
toolchain?

Thanks for your help.

-- 
    Frédéric



More information about the Libffi-discuss mailing list