Cosmopolitan 0.3

This commit is contained in:
Justine Tunney 2021-03-29 03:15:30 -07:00
parent 7dc8973567
commit 7abca1531f
2 changed files with 6 additions and 6 deletions

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. Here's what you do on Linux:
```sh
wget https://justine.lol/cosmopolitan/cosmopolitan.zip
unzip cosmopolitan.zip
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.3.zip
unzip cosmopolitan-amalgamation-0.3.zip
printf 'main() { printf("hello world\\n"); }\n' >hello.c
gcc -g -Os -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
-fno-omit-frame-pointer -pg -mnop-mcount \
@ -53,9 +53,9 @@ universal binaries possible.
Cosmopolitan can also be compiled from source on any Linux distro.
```sh
wget https://justine.lol/cosmopolitan/cosmopolitan-0.2.tar.gz
tar xf cosmopolitan-0.2.tar.gz # see releases page
cd cosmopolitan-0.2
wget https://justine.lol/cosmopolitan/cosmopolitan-0.3.tar.gz
tar xf cosmopolitan-0.3.tar.gz # see releases page
cd cosmopolitan
make -j16
o//examples/hello.com
find o -name \*.com | xargs ls -rShal | less

View file

@ -564,7 +564,7 @@ static void ProgramPort(long x) {
}
static void SetDefaults(void) {
ProgramBrand("redbean/0.2");
ProgramBrand("redbean/0.3");
ProgramCache(-1);
ProgramPort(DEFAULT_PORT);
serveraddr.sin_family = AF_INET;