mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Release Cosmopolitan v3.0.2
It's recommended that all users, especially Apple Arm, re-run: ape/apeinstall.sh Within the Cosmopolitan monorepo to refresh your APE loader.
This commit is contained in:
parent
c39eb244d4
commit
23d812f116
3 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -85,7 +85,7 @@ endif
|
||||||
ifeq ($(TOOLCHAIN),) # if TOOLCHAIN isn't defined
|
ifeq ($(TOOLCHAIN),) # if TOOLCHAIN isn't defined
|
||||||
ifeq ("$(wildcard o/third_party/gcc/bin/x86_64-linux-cosmo-*)","") # if our gcc isn't unbundled
|
ifeq ("$(wildcard o/third_party/gcc/bin/x86_64-linux-cosmo-*)","") # if our gcc isn't unbundled
|
||||||
ifneq ($(UNAME_M)-$(UNAME_S), x86_64-Linux) # if this is not amd64 linux
|
ifneq ($(UNAME_M)-$(UNAME_S), x86_64-Linux) # if this is not amd64 linux
|
||||||
$(error you need to download https://justine.lol/cosmocc-0.0.16.zip and unzip it inside the cosmo directory)
|
$(error you need to download https://justine.lol/cosmocc-0.0.18.zip and unzip it inside the cosmo directory)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -421,8 +421,8 @@ header file. 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:
|
you need just five files to get started. Here's what you do on Linux:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-3.0.zip
|
wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-3.0.2.zip
|
||||||
unzip cosmopolitan-amalgamation-3.0.zip
|
unzip cosmopolitan-amalgamation-3.0.2.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 -mno-tls-direct-seg-refs -gdwarf-4 \
|
-fno-omit-frame-pointer -pg -mnop-mcount -mno-tls-direct-seg-refs -gdwarf-4 \
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#define __COSMOPOLITAN_MAJOR__ 3
|
#define __COSMOPOLITAN_MAJOR__ 3
|
||||||
#define __COSMOPOLITAN_MINOR__ 0
|
#define __COSMOPOLITAN_MINOR__ 0
|
||||||
#define __COSMOPOLITAN_PATCH__ 1
|
#define __COSMOPOLITAN_PATCH__ 2
|
||||||
#define __COSMOPOLITAN__ \
|
#define __COSMOPOLITAN__ \
|
||||||
(100000000 * __COSMOPOLITAN_MAJOR__ + 1000000 * __COSMOPOLITAN_MINOR__ + \
|
(100000000 * __COSMOPOLITAN_MAJOR__ + 1000000 * __COSMOPOLITAN_MINOR__ + \
|
||||||
__COSMOPOLITAN_PATCH__)
|
__COSMOPOLITAN_PATCH__)
|
||||||
|
|
Loading…
Reference in a new issue