mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 11:12:27 +00:00
This change upgrades to the latest portcosmo gcc patch 6728fe1a25185560603ca312a8d4352af2a4e515 which lets us avoid needing to define __tmpcosmo_FOO constants. We're now using an appropriate binutils version for GCC 11. The older binutils sometimes wasn't able to print backtraces, due to not being able to find a .debug_ranges section. This is breaking change for /opt/cosmos libraries :'( due to this weird "error: need linked-to section for --gc-sections" that pops up. Please run `make clean` in the monorepo before rebuilding. |
||
---|---|---|
.. | ||
aarch64-linux-musl/bin | ||
bin | ||
lib/gcc/x86_64-linux-musl/11.2.0 | ||
libexec/gcc | ||
x86_64-linux-musl/bin | ||
config.mak | ||
LICENSE.txt | ||
portcosmo.patch | ||
README.cosmo | ||
upgrade-cosmo-gcc.sh |
DESCRIPTION Cosmopolitan GCC Prebuilt x86_64-linux binaries An APE-friendly C/C++ compiler LICENSE GPLv3 and other licenses (see LICENSE.txt) ORIGIN @ahgamut's musl-cross-make fork https://github.com/ahgamut/musl-cross-make/ e58abc1110b335a3341e8ad5821ad8e3880d9bb2 MODIFICATIONS ahgamut's musl-cross-make fork includes a 2kLOC patch that modifies GCC so it'll compile C code like `switch(errno){case EINVAL: etc.}` see third_party/gcc/portcosmo.patch for GCC 11.2.0 for our changes NOTES These binaries were compiled by Justine Tunney. You have the freedom to obtain the original source source code, apply our patch, and enjoy all the freedoms promised to you by the GNU General Public License.