Re:How Fat Does a Fat Binary Need to Be?
by lhorie on Thursday February 11, 2021 @03:14PM
(#26106525)
Very exciting stuff! I'll try to take it for a spin tonight :)
[ Parent
| on HN ]
Here's something you can paste into your Linux terminal to get started:
git clone https://github.com/jart/cosmopolitan
cd cosmopolitan
make -j8
o/third_party/chibicc/chibicc.com -include libc/integral/normalize.inc -o hello.com.dbg examples/hello.c o/cosmopolitan.a
o/third_party/gcc/bin/x86_64-linux-musl-objcopy -SO binary hello.com.dbg hello.com
./hello.com