From 7abca1531ff1229a2f0a92720bf789cf6e3552d8 Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Mon, 29 Mar 2021 03:15:30 -0700 Subject: [PATCH] Cosmopolitan 0.3 --- README.md | 10 +++++----- tool/net/redbean.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 29b222a4..b082a5af 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/tool/net/redbean.c b/tool/net/redbean.c index 13ef3695..48622774 100644 --- a/tool/net/redbean.c +++ b/tool/net/redbean.c @@ -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;