Jan-04-2018, 01:19 PM
(This post was last modified: Jan-04-2018, 01:19 PM by michelebucca.)
Hi There
Has anybody ever tried to cross-compile python with zlib support for another architecture?
I'm trying to cross-compile Python for my embedded ARM system.
here are the triplets:
HOST = arm-linux-musleabi
BUILD = x86_64-linux-gnu
I've already cross-compiled python without zlib support and it sort of works. I'm running it on my Android
Phone.
Here's a Screenshot:
https://drive.google.com/file/d/1vTVqtRl...PVFCi/view
The configure command i give to produce Python is this
../Python-2.7.14/configure --host=arm-linux-musleabi --build=x86_64-linux-gnu --prefix=/home/michele/PythonAndroid/prefix/python2 --disable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no | tee ../python2-configure.log
how do I add zlib support?
I have installed zlib inside my cross-compiler and I have uncommented a line inside the file (build_dir)/Modules/Setup to force the building of the zlib module but it doesn't work.
Has anybody ever tried to cross-compile python with zlib support for another architecture?
I'm trying to cross-compile Python for my embedded ARM system.
here are the triplets:
HOST = arm-linux-musleabi
BUILD = x86_64-linux-gnu
I've already cross-compiled python without zlib support and it sort of works. I'm running it on my Android
Phone.
Here's a Screenshot:
https://drive.google.com/file/d/1vTVqtRl...PVFCi/view
The configure command i give to produce Python is this
../Python-2.7.14/configure --host=arm-linux-musleabi --build=x86_64-linux-gnu --prefix=/home/michele/PythonAndroid/prefix/python2 --disable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no | tee ../python2-configure.log
how do I add zlib support?
I have installed zlib inside my cross-compiler and I have uncommented a line inside the file (build_dir)/Modules/Setup to force the building of the zlib module but it doesn't work.