cosmopolitan/build
Justine Tunney 4e9662cbc7 Write tests for new APE loader and fix bugs
- Add FreeBSD-specific mmap() flags
- Reduce size of the APE loader from 8kb to 4kb
- Work towards fixing the Makefile build on WSL
- Automate testing of APE no-modify-self behaviors
- Make the ape.S shell script code cleaner and tinier
- Improve the APE sanity check to test behavior better
- Fixed issue with ShowCrashReports() sigaltstack() on BSDs
- Delete symbols for S_MODE magnums which wasted compile time

If you checked out yesterday's APE commit, please run:

    rm -f /usr/bin/ape o/tmp/ape /tmp/ape "${TMPDIR:-/tmp}/ape"

Because this change fixes certain aspects of the new ABI. We don't have
automated migrations for APE loader versions yet. Thanks! You can also
download prebuilt binaries here:

- https://justine.lol/ape.elf    (Linux/FreeBSD/NetBSD/OpenBSD)
- https://justine.lol/ape.macho  (Apple)

Install the appropriate one as `/usr/bin/ape`.
2022-05-22 05:45:38 -07:00
..
bootstrap Write tests for new APE loader and fix bugs 2022-05-22 05:45:38 -07:00
config.mk Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
definitions.mk Make improvements 2022-04-24 10:06:05 -07:00
findtmp Productionize new APE loader and more 2021-10-02 08:27:03 -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 Make some systemic improvements 2022-05-18 16:52:36 -07: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 Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
sanitycheck Write tests for new APE loader and fix bugs 2022-05-22 05:45:38 -07:00