Skip to content

karthickai/python-arm-xcompile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

python-arm-xcompile

This is a build script for cross-compiling Python to target the ARM architecture.

You must have a cross-compile toolchain already set up (e.g. on Ubuntu run sudo apt-get install gcc-arm-linux-gnueabihf).

  1. Edit python_xcompile.sh and change the variables at the top to match your environment.
  2. Run python_xcompile.sh. This will download Python and build it for you.

Assuming the build succeeds, the Python distribution will be installed in INSTALL_DIRECTORY.

The script was tested with Python 3.6.8 under Ubuntu 18.04.

With Python 3.6.8 cross-compiling got easier since no patching is required. For cross-compiling older Python version, check the python-2.7.5 branch of this repository.

About

Build script and patches for cross-compiling Python to target ARM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%