This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Cross-compiling libffi on ppc 603e
- From: FrÃdÃric <fma at gbiloba dot org>
- To: libffi-discuss at sourceware dot org
- Date: Wed, 3 Feb 2016 11:21:52 +0100
- Subject: Cross-compiling libffi on ppc 603e
- Authentication-results: sourceware.org; auth=none
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