mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Cosmopolitan 1.0
This commit is contained in:
parent
1a3d22b2fd
commit
7cbc2bc083
2 changed files with 6 additions and 6 deletions
|
@ -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:
|
five files to get started. Here's what you do on Linux:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.3.zip
|
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-1.0.zip
|
||||||
unzip cosmopolitan-amalgamation-0.3.zip
|
unzip cosmopolitan-amalgamation-1.0.zip
|
||||||
printf 'main() { printf("hello world\\n"); }\n' >hello.c
|
printf 'main() { printf("hello world\\n"); }\n' >hello.c
|
||||||
gcc -g -Os -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
|
gcc -g -Os -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
|
||||||
-fno-omit-frame-pointer -pg -mnop-mcount \
|
-fno-omit-frame-pointer -pg -mnop-mcount \
|
||||||
|
@ -72,8 +72,8 @@ repository that bootstraps using a vendored static gcc9 executable.
|
||||||
No further dependencies are required.
|
No further dependencies are required.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget https://justine.lol/cosmopolitan/cosmopolitan-0.3.tar.gz
|
wget https://justine.lol/cosmopolitan/cosmopolitan-1.0.tar.gz
|
||||||
tar xf cosmopolitan-0.3.tar.gz # see releases page
|
tar xf cosmopolitan-1.0.tar.gz # see releases page
|
||||||
cd cosmopolitan
|
cd cosmopolitan
|
||||||
make -j16
|
make -j16
|
||||||
o//examples/hello.com
|
o//examples/hello.com
|
||||||
|
|
|
@ -681,9 +681,9 @@ static void ProgramPort(long x) {
|
||||||
|
|
||||||
static void SetDefaults(void) {
|
static void SetDefaults(void) {
|
||||||
#ifdef STATIC
|
#ifdef STATIC
|
||||||
ProgramBrand("redbean-static/0.4");
|
ProgramBrand("redbean-static/1.0");
|
||||||
#else
|
#else
|
||||||
ProgramBrand("redbean/0.4");
|
ProgramBrand("redbean/1.0");
|
||||||
#endif
|
#endif
|
||||||
__log_level = kLogInfo;
|
__log_level = kLogInfo;
|
||||||
maxpayloadsize = 64 * 1024;
|
maxpayloadsize = 64 * 1024;
|
||||||
|
|
Loading…
Reference in a new issue