cosmopolitan/build
Justine Tunney 559b024e1d Decentralize Python native module linkage
We can now link even smaller Python binaries. For example, the hello.com
program in the Python build directory is a compiled linked executable of
hello.py which just prints hello world. Using decentralized sections, we
can make that binary 1.9mb in size (noting that python.com is 6.3 megs!)

This works for nontrivial programs too. For example, say we want an APE
binary that's equivalent to python.com -m http.server. Our makefile now
builds such a binary using the new launcher and it's only 3.2mb in size
since Python sources get turned into ELF objects, which tell our linker
that we need things like native hashing algorithm code.
2021-09-07 11:40:11 -07:00
..
bootstrap Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
config.mk Exclude .py files in MODE=rel / tiny 2021-09-06 19:34:57 -07:00
definitions.mk Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
findtmp Fix build to not require bash #190 2021-06-09 04:39:52 -07:00
functions.mk Initial import 2020-06-15 07:18:57 -07:00
gdb Fix redbean zip central directory lookup 2021-02-27 12:08:28 -08:00
getccversion Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
getcompile Improve build system 2021-02-19 23:03:34 -08:00
hello Improve build system 2021-02-19 23:03:34 -08:00
htags Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
online.mk Improve build system 2021-02-19 23:03:34 -08:00
realify.sed Add minor improvements and cleanup 2020-10-27 03:39:46 -07:00
realify.sh Make more improvements 2020-09-28 01:20:34 -07:00
rules.mk Introduce Python objectifier (#259) 2021-09-04 15:44:00 -07:00
sanitycheck Add binfmt_misc workaround detector to builds 2020-08-31 20:09:23 -07:00
sanitycheck2 Fix bug in code written a priori 2020-08-31 21:02:14 -07:00