Commit Graph

18 Commits

Author SHA1 Message Date
9f68d6eee9 Fix link order in cosmopolitan.a
It turned out that the linker was doing the wrong with the amalgamation
library concerning weak stubs. A regression test has been added and new
binaries have been uploaded to https://justine.lol/cosmopolitan/

Ideally this should be fixed by building a tool that turns multiple .a
files into a single .a file with deduplication. As a workaround for now
the cosmopolitan.a build is restructured to not include LIBC_STUBS which
meant technical debt needed to be paid off where non-stub interfaces
were moved to LIBC_INTRIN and LIBC_NEXGEN32E.

Thank @PerfectProductions in #31 for the report!
2021-01-16 12:05:41 -08:00
28316891e9 Fix discrepancy in chibicc ND_NOT codegen (#21) 2020-12-30 00:32:51 -08:00
79ff43adf5 Apply touchups to last commit 2020-12-29 23:52:27 -08:00
81ef162703 Create integrated assembler for chibicc
All we need now to complete the triforce is an integrated linker. That
way Cosmpolitan will let C be a "build anywhere run anywhere" language.
2020-12-29 22:40:59 -08:00
12065100e1 Add l suffix to yoink nop 2020-12-28 11:38:38 -08:00
548dcb9f08 Further refine documentation 2020-12-27 17:05:03 -08:00
1bc3a25505 Improve documentation
The Cosmo API documentation page is pretty good now
https://justine.lol/cosmopolitan/documentation.html
2020-12-27 07:02:35 -08:00
13437dd19b Auto-generate some documentation 2020-12-26 02:09:07 -08:00
830334d767 Hunt down some small bugs 2020-12-24 16:01:48 -08:00
95b142e4e5 Make minor improvements 2020-12-23 23:42:56 -08:00
14d0292732 Fiddle around with chibicc 2020-12-19 13:39:09 -08:00
b562d6fdb3 Make minor improvements 2020-12-19 11:21:04 -08:00
1fc91f3580 Fold conv package into fmt
Both packages had nearly identical dependency requirements, so merging
them should help reduce the complexity of the build graph.
2020-12-09 16:52:00 -08:00
15280753e2 Integrate more chibicc changes 2020-12-09 13:53:02 -08:00
2ed7956be4 Integrate upstream chibicc changes 2020-12-09 04:13:14 -08:00
9df2cef4c4 Enhance chibicc 2020-12-09 04:00:48 -08:00
8da931a7f6 Add chibicc
This program popped up on Hacker News recently. It's the only modern
compiler I've ever seen that doesn't have dependencies and is easily
modified. So I added all of the missing GNU extensions I like to use
which means it might be possible soon to build on non-Linux and have
third party not vendor gcc binaries.
2020-12-06 16:20:21 -08:00
e44a0cf6f8 Make improvements 2020-12-01 03:43:40 -08:00