Cosmopolitan 0.2

This commit is contained in:
Justine Tunney 2021-02-09 20:36:07 -08:00
parent e75ffde09e
commit ec69413f83

View file

@ -22,8 +22,8 @@ If you're doing your development work on Linux or BSD then you need just
five files to get started: five files to get started:
```sh ```sh
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.1.2.zip wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.2.zip
unzip cosmopolitan-amalgamated-0.1.2.zip unzip cosmopolitan-amalgamated-0.2.zip
echo 'main() { printf("hello world\n"); }' >hello.c echo 'main() { printf("hello world\n"); }' >hello.c
gcc -g -O -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \ gcc -g -O -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
-o hello.com.dbg hello.c -fuse-ld=bfd -Wl,-T,ape.lds \ -o hello.com.dbg hello.c -fuse-ld=bfd -Wl,-T,ape.lds \
@ -41,9 +41,9 @@ universal binaries possible.
Cosmopolitan can also be compiled from source on any Linux distro. Cosmopolitan can also be compiled from source on any Linux distro.
```sh ```sh
wget https://justine.lol/cosmopolitan/cosmopolitan-0.1.2.tar.gz wget https://justine.lol/cosmopolitan/cosmopolitan-0.2.tar.gz
tar xf cosmopolitan-0.1.2.tar.gz # see releases page tar xf cosmopolitan-0.2.tar.gz # see releases page
cd cosmopolitan-0.1.2 cd cosmopolitan-0.2
make -j16 make -j16
o//examples/hello.com o//examples/hello.com
find o -name \*.com | xargs ls -rShal | less find o -name \*.com | xargs ls -rShal | less