mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 11:18:30 +00:00
Make more improvements
This change includes many bug fixes, for the NT polyfills, strings, memory, boot, and math libraries which were discovered by adding more tools for recreational programming, such as PC emulation. Lemon has also been vendored because it works so well at parsing languages.
This commit is contained in:
parent
416fd86676
commit
23d333c090
201 changed files with 14558 additions and 3082 deletions
5
third_party/blas/blas.mk
vendored
5
third_party/blas/blas.mk
vendored
|
@ -34,10 +34,7 @@ THIRD_PARTY_BLAS_A_DEPS := \
|
|||
|
||||
$(THIRD_PARTY_BLAS_A_OBJS): \
|
||||
OVERRIDE_CFLAGS += \
|
||||
-O3 #$(MATHEMATICAL)
|
||||
|
||||
#$(THIRD_PARTY_BLAS_A_OBJS): \
|
||||
CC = $(CLANG)
|
||||
$(MATHEMATICAL)
|
||||
|
||||
$(THIRD_PARTY_BLAS_A): \
|
||||
third_party/blas/ \
|
||||
|
|
1102
third_party/blas/dgemm_.S
vendored
1102
third_party/blas/dgemm_.S
vendored
File diff suppressed because it is too large
Load diff
2
third_party/dtoa/dtoa.c
vendored
2
third_party/dtoa/dtoa.c
vendored
|
@ -6,6 +6,8 @@
|
|||
#include "libc/str/str.h"
|
||||
#include "third_party/dtoa/dtoa.h"
|
||||
|
||||
#define Omit_Private_Memory
|
||||
|
||||
#define IEEE_8087 1
|
||||
/* #define SET_INEXACT 1 */
|
||||
|
||||
|
|
1
third_party/duktape/duktape.mk
vendored
1
third_party/duktape/duktape.mk
vendored
|
@ -27,6 +27,7 @@ THIRD_PARTY_DUKTAPE_A_CHECKS = \
|
|||
$(THIRD_PARTY_DUKTAPE_A).pkg
|
||||
|
||||
THIRD_PARTY_DUKTAPE_A_DIRECTDEPS = \
|
||||
LIBC_CALLS \
|
||||
LIBC_STUBS \
|
||||
LIBC_FMT \
|
||||
LIBC_TIME \
|
||||
|
|
1022
third_party/lemon/README
vendored
Normal file
1022
third_party/lemon/README
vendored
Normal file
File diff suppressed because it is too large
Load diff
5968
third_party/lemon/lemon.c
vendored
Normal file
5968
third_party/lemon/lemon.c
vendored
Normal file
File diff suppressed because it is too large
Load diff
55
third_party/lemon/lemon.mk
vendored
Normal file
55
third_party/lemon/lemon.mk
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
|
||||
#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘
|
||||
|
||||
LEMON = $(MKDIR) $(@D) && ACTION="LEMON $@" build/do $(THIRD_PARTY_LEMON)
|
||||
|
||||
THIRD_PARTY_LEMON = o/$(MODE)/third_party/lemon/lemon.com.dbg
|
||||
|
||||
THIRD_PARTY_LEMON_OBJS = \
|
||||
o/$(MODE)/third_party/lemon/lemon.o \
|
||||
o/$(MODE)/third_party/lemon/lempar.c.txt.zip.o
|
||||
|
||||
THIRD_PARTY_LEMON_COMS = \
|
||||
o/$(MODE)/third_party/lemon/lemon.com
|
||||
|
||||
THIRD_PARTY_LEMON_LINK = \
|
||||
$(THIRD_PARTY_LEMON_DEPS) \
|
||||
o/$(MODE)/third_party/lemon/%.o \
|
||||
$(CRT) \
|
||||
$(APE)
|
||||
|
||||
THIRD_PARTY_LEMON_DIRECTDEPS = \
|
||||
LIBC_ALG \
|
||||
LIBC_CALLS \
|
||||
LIBC_CONV \
|
||||
LIBC_FMT \
|
||||
LIBC_MEM \
|
||||
LIBC_NEXGEN32E \
|
||||
LIBC_RUNTIME \
|
||||
LIBC_STDIO \
|
||||
LIBC_STR \
|
||||
LIBC_STUBS \
|
||||
LIBC_UNICODE \
|
||||
LIBC_X \
|
||||
LIBC_ZIPOS \
|
||||
THIRD_PARTY_DTOA
|
||||
|
||||
THIRD_PARTY_LEMON_DEPS := \
|
||||
$(call uniq,$(foreach x,$(THIRD_PARTY_LEMON_DIRECTDEPS),$($(x))))
|
||||
|
||||
o/$(MODE)/third_party/lemon/lemon.pkg: \
|
||||
$(THIRD_PARTY_LEMON_OBJS) \
|
||||
$(foreach x,$(THIRD_PARTY_LEMON_DIRECTDEPS),$($(x)_A).pkg)
|
||||
|
||||
o/$(MODE)/third_party/lemon/lemon.com.dbg: \
|
||||
$(THIRD_PARTY_LEMON_DEPS) \
|
||||
o/$(MODE)/third_party/lemon/lemon.pkg \
|
||||
o/$(MODE)/third_party/lemon/lemon.o \
|
||||
o/$(MODE)/third_party/lemon/lempar.c.txt.zip.o \
|
||||
$(CRT) \
|
||||
$(APE)
|
||||
-@$(APELINK)
|
||||
|
||||
.PHONY: o/$(MODE)/third_party/lemon
|
||||
o/$(MODE)/third_party/lemon: \
|
||||
o/$(MODE)/third_party/lemon/lemon.com
|
1083
third_party/lemon/lempar.c.txt
vendored
Normal file
1083
third_party/lemon/lempar.c.txt
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
third_party/third_party.mk
vendored
1
third_party/third_party.mk
vendored
|
@ -14,6 +14,7 @@ o/$(MODE)/third_party: \
|
|||
o/$(MODE)/third_party/editline \
|
||||
o/$(MODE)/third_party/f2c \
|
||||
o/$(MODE)/third_party/getopt \
|
||||
o/$(MODE)/third_party/lemon \
|
||||
o/$(MODE)/third_party/lex \
|
||||
o/$(MODE)/third_party/linenoise \
|
||||
o/$(MODE)/third_party/lz4cli \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue