Skip to content

Commit 1ce101c

Browse files
committed
Release Cosmopolitan 2.0
1 parent fcbf64b commit 1ce101c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ If you're doing your development work on Linux or BSD then you need just
2323
five files to get started. Here's what you do on Linux:
2424

2525
```sh
26-
wget https://justine.lol/cosmopolitan/cosmopolitan.zip
27-
unzip cosmopolitan.zip
26+
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-2.0.zip
27+
unzip cosmopolitan-amalgamation-2.0.zip
2828
printf 'main() { printf("hello world\\n"); }\n' >hello.c
2929
gcc -g -Os -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
3030
-fno-omit-frame-pointer -pg -mnop-mcount -mno-tls-direct-seg-refs \
31-
-o hello.com.dbg hello.c -fuse-ld=bfd -Wl,-T,ape.lds \
31+
-o hello.com.dbg hello.c -fuse-ld=bfd -Wl,-T,ape.lds -Wl,--gc-sections \
3232
-include cosmopolitan.h crt.o ape-no-modify-self.o cosmopolitan.a
3333
objcopy -S -O binary hello.com.dbg hello.com
3434
```

0 commit comments

Comments
 (0)