Skip to content

Cosmopolitan v3.6.2

Compare
Choose a tag to compare
@jart jart released this 28 Jul 03:43
· 277 commits to master since this release
8621034

Your cosmocc toolchain is now able to produce tinier binaries. For small
programs, passing -mtiny can cut binary size in half. In fact oftentimes
our fat binaries end up being half the size of statically linked
linux-only executables that use glibc. You can also pass -mdbg to link a
debug version of the cosmopolitan runtime.

  • 642e9cb Introduce cosmocc flags -mdbg -mtiny -moptlinux

Your cosmocc toolchain, which was recently built with GCC 14.1, is now
itself being compiled with GCC 14.1. We've also enabled the -fanalyzer
flag, which has been helping us find bugs.

Your fork() function will now go much faster when it's used by many
threads at once.

  • cdfcee5 Properly serialize fork() operations

Some additional improvements:

  • 59692b0 Make spinlocks faster
  • 18a620c Make some improvements of little consequence
  • 690d3df Expand the virtual address space on Windows
  • edd5e2c Expose gethostbyname()
  • a31d5ea Remove cosmoc++ compiler warning