Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

srf1986/python-arm-xcompile

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-arm-xcompile

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

You must have a cross-compile toolchain already set up. This guide is an excellent resource for setting up crosstool-ng.

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

Assuming the build succeeds, a list of modules will be printed out. Some modules will not build statically since they need to be dynamically linked to glibc (TODO).

Python 2.7.4 unsupported

Note that Python 2.7.4 introduced breaking changes to _sre.MAXREPEATS that will fail to cross-compile statically. You must use 2.7.3 instead (for now) -- build.sh will download and extract this for you.

Credits

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.