mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
Cosmopolitan 0.1.2
This commit is contained in:
parent
393a642c22
commit
4072e40bb8
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ Here's how to get started with the freestanding hermetically-sealed
|
||||||
monolithic source repository:
|
monolithic source repository:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
tar xf cosmopolitan-0.1.1.tar.gz # see our releases page
|
tar xf cosmopolitan-0.1.2.tar.gz # see our releases page
|
||||||
cd cosmo
|
cd cosmo
|
||||||
make -j12
|
make -j12
|
||||||
o//examples/hello.com
|
o//examples/hello.com
|
||||||
|
@ -30,7 +30,7 @@ Here's how to get started with the amalgamated binaries, which let you
|
||||||
bring your own build system:
|
bring your own build system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
unzip cosmopolitan-amalgamated-0.1.1.zip # see our releases page
|
unzip cosmopolitan-amalgamated-0.1.2.zip # see our releases page
|
||||||
echo 'main() { printf("hello world\n"); }' >hello.c
|
echo 'main() { printf("hello world\n"); }' >hello.c
|
||||||
gcc -g -O -static -fno-pie -no-pie -mno-red-zone -nostdlib -nostdinc \
|
gcc -g -O -static -fno-pie -no-pie -mno-red-zone -nostdlib -nostdinc \
|
||||||
-o hello.com.dbg hello.c -Wl,--gc-sections -Wl,-z,max-page-size=0x1000 -fuse-ld=bfd \
|
-o hello.com.dbg hello.c -Wl,--gc-sections -Wl,-z,max-page-size=0x1000 -fuse-ld=bfd \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue