[issue28266] setup.py uses build Python's configuration when cross-compiling

Chi Hsuan Yen report at bugs.python.org
Sun Sep 25 04:53:56 EDT 2016


Chi Hsuan Yen added the comment:

The problem is: setting PYTHON_FOR_BUILD manually breaks cross-compiling. Please remove it, add python3.6 to $PATH and cross-compiling should be OK.

For the problem of libffi: since issue27976 using bundled libffi is deprecated. Please build libffi outside CPython and then use --with-system-ffi.

Some other minor points:
* Android support is still highly experimental. Please consider using the latest mercurial changeset, or at least 3.6.x. 3.5.x requires too many patches.
* Android NDK has deprecated GCC. Mostly CPython is tested on clang.

----------

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


More information about the Python-bugs-list mailing list