Skip to content

ahgamut/cpython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiling Python3.11.0rc1 with Cosmopolitan

This repo contains the source code of Python 3.11.0rc1 customized to compile with Cosmopolitan libc. Meant for experimental purposes only.

Steps to compile

  1. clone the cosmopolitan repo somewhere nearby (for headers)
cd ../
git clone https://github.com/jart/cosmopolitan
  1. download the cosmopolitan amalgamation (cosmopolitan.a, ape.lds and friends) somewhere
cd ../
mkdir amalg
cd amalg/
wget https://justine.lol/cosmopolitan/cosmopolitan.zip
unzip cosmopolitan.zip
  1. set the COSMO_REPODIR variable in superconfigure to point to wherever you have the cosmopolitan repo (in this case ../cosmopolitan)

  2. set the COSMO_LIBDIR variable in superconfigure to point to wherever you have the cosmopolitan amalgamation (in this case ../amalg)

  3. run superconfigure

  4. run make -j4

  5. run ./python.com

About

The Python programming language

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 62.9%
  • C 34.9%
  • C++ 0.8%
  • M4 0.5%
  • HTML 0.4%
  • Batchfile 0.1%
  • Other 0.4%