mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Fix getting started example for Z-shell (#44)
Apropos zsh, our patch has now been upstreamed! See: https://github.com/zsh-users/zsh/commit/326d9c203b39
This commit is contained in:
parent
6f35bd47ab
commit
08d3700c15
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ five files to get started:
|
|||
```sh
|
||||
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.2.zip
|
||||
unzip cosmopolitan-amalgamated-0.2.zip
|
||||
echo 'main() { printf("hello world\n"); }' >hello.c
|
||||
printf 'main() { printf("hello world\\n"); }\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 \
|
||||
-include cosmopolitan.h crt.o ape.o cosmopolitan.a
|
||||
|
|
Loading…
Reference in a new issue