Skip to content

Commit

Permalink
Cosmopolitan 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Feb 10, 2021
1 parent e75ffde commit ec69413
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ If you're doing your development work on Linux or BSD then you need just
five files to get started:

```sh
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.1.2.zip
unzip cosmopolitan-amalgamated-0.1.2.zip
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.2.zip
unzip cosmopolitan-amalgamated-0.2.zip
echo 'main() { printf("hello world\n"); }' >hello.c
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 \
Expand All @@ -41,9 +41,9 @@ universal binaries possible.
Cosmopolitan can also be compiled from source on any Linux distro.

```sh
wget https://justine.lol/cosmopolitan/cosmopolitan-0.1.2.tar.gz
tar xf cosmopolitan-0.1.2.tar.gz # see releases page
cd cosmopolitan-0.1.2
wget https://justine.lol/cosmopolitan/cosmopolitan-0.2.tar.gz
tar xf cosmopolitan-0.2.tar.gz # see releases page
cd cosmopolitan-0.2
make -j16
o//examples/hello.com
find o -name \*.com | xargs ls -rShal | less
Expand Down

0 comments on commit ec69413

Please sign in to comment.