GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing devguide.python.org — Porting and platform support Porting and platform support¶The Python interpreter runs on an underlying platform – the operating system (for example, Linux, Windows or macOS), processor (like Intel/AMD, ARM), C compiler and library, and other “lower level” details. CPython is officially supported on several platforms, on which the core team has adequate knowledge and resources to test releases and fix bugs. See PEP 11 for details. Other platforms are unsupported by the core team, but might be supported by others – as a volunteer project, by a company that wants Python on “their” system, or just as a one-off experiment. See PEP 11 for the policy on merging code for unsupported platforms into the main CPython repository. Ports and contacts¶The table below lists relevant third-party projects, their maintainers, and links to information that’s relevant when triaging platform-specific issues. Officially supported platforms are also included when there is relevant information for them (beyond PEP 11), or to group similar platforms. It is OK to @mention the listed GitHub usernames to draw maintainers’ attention or request their opinion on platform-specific issues. Maintainers must only be listed with their permission, and they may remove themselves at any time. Third-party projects should only be listed if they benefit substantially more people than the maintainers. Links should be for the port specifically (not the platform itself), and relevant for porting work and fixing platform-specific issues (no homepage/marketing links).
[t2]
Specific variants have official Tier 2 support Porting to a new platform¶Porting CPython to an entirely new platform is an adventure. If you try it, consider keeping notes – and updating this guide, if you find something that might be relevant to others. Since each platform is different, this guide can only give you a few rough tips. The first step is to familiarize yourself with the development toolchain on the platform in question, notably the C compiler. Make sure you can compile and run a hello-world program using the target compiler. Next, learn how to compile and run the Python interpreter on a platform to
which it has already been ported; preferably Unix, but Windows will
do, too. The build process for Python, in particular the It is not recommended to start porting Python without at least a medium-level understanding of your target platform; how it is generally used, how to write platform-specific apps, and so on. Also, some Python knowledge is required, or you will be unable to verify that your port is working correctly. On systems with a UNIX shell, run the included configure script.
This should generate all required files, including a The main files that
Keep working on it until you get a At some point you will want to use the Before you are done, it is highly recommended to run the Python regression test suite, as described in Running and writing tests. You will probably need to skip tests that do not make sense; for inspiration look at how that’s done for the WASI platform. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |