[issue17192] libffi-3.0.12 import

Ronald Oussoren report at bugs.python.org
Tue Feb 12 15:43:30 CET 2013


Ronald Oussoren added the comment:

libffi_osx is not a copy of the regular libffi, but a (fairly old) fork. I don't know how far the two "branches" have diverged.  

An important feature  of liffi_osx is that is compiles cleanly when all intel and ppc related sources are compiled with '-arch ppc -arch i386 -arch x86_64' (that is, the relevant sources contain preprocessor guards to ensure the code in those files is only compiled for the right archictures). This greatly simplifies the build process because it is not necessary to build libffi a couple of times and then merge the resulting binaries.

I'm -0 at this point w.r.t. trying to remove libffi_osx, that tree works and I'll work on it anyway (it is also used in PyObjC).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17192>
_______________________________________


More information about the Python-bugs-list mailing list