{"id":18033914,"url":"https://github.com/sjkingo/python27-arm-xcompile","last_synced_at":"2025-09-03T08:32:07.514Z","repository":{"id":142705526,"uuid":"9739303","full_name":"sjkingo/python27-arm-xcompile","owner":"sjkingo","description":"Build script and patches for cross-compiling Python 2.7.3 to target ARM","archived":false,"fork":false,"pushed_at":"2013-04-29T02:46:06.000Z","size":110,"stargazers_count":32,"open_issues_count":0,"forks_count":54,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-20T13:32:41.632Z","etag":null,"topics":["arm","cross-compile","python","python-2-7"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjkingo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-29T01:51:40.000Z","updated_at":"2021-05-28T03:31:01.000Z","dependencies_parsed_at":"2023-03-18T22:20:47.205Z","dependency_job_id":null,"html_url":"https://github.com/sjkingo/python27-arm-xcompile","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fpython27-arm-xcompile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fpython27-arm-xcompile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fpython27-arm-xcompile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjkingo%2Fpython27-arm-xcompile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjkingo","download_url":"https://codeload.github.com/sjkingo/python27-arm-xcompile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231857423,"owners_count":18436844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm","cross-compile","python","python-2-7"],"created_at":"2024-10-30T11:08:55.048Z","updated_at":"2024-12-30T12:57:00.666Z","avatar_url":"https://github.com/sjkingo.png","language":null,"readme":"python-arm-xcompile\n===================\n\nThis is a build script and patches for cross-compiling Python to target the ARM architecture.\n\nYou must have a cross-compile toolchain already set up. [This guide](http://akanto.wordpress.com/2012/10/02/cross-compiling-kernel-for-raspberry-pi-on-fedora-17-part-2/) is an excellent resource for setting up crosstool-ng.\n\n1. Edit `build.sh` and change the variables at the top to match your environment.\n2. Run `build.sh`. This will download Python and build it for you.\n\nAssuming the build succeeds, a list of modules will be printed out. Some modules\nwill not build statically since they need to be dynamically linked to glibc (TODO).\n\nPython 2.7.4 unsupported\n------------------------\n\nNote that Python 2.7.4 introduced breaking changes to _sre.MAXREPEATS that will\nfail to cross-compile statically. You must use 2.7.3 instead (for now) --\n`build.sh` will download and extract this for you.\n\nCredits\n-------\n\n* The `files/Python-2.7.3-xcompile.patch` file is modified from the patch given by\nLothsahn on the [Cross Compiling Python for Embedded Linux](http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html) post.\n* http://stackoverflow.com/a/1155092 for statically compiling Python interpreter.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjkingo%2Fpython27-arm-xcompile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjkingo%2Fpython27-arm-xcompile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjkingo%2Fpython27-arm-xcompile/lists"}