mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
868af3f950
You can now use the hardest fastest and most dangerous language there is with Cosmopolitan. So far about 75% of LLVM libcxx has been added. A few breaking changes needed to be made to help this go smoothly. - Rename nothrow to dontthrow - Rename nodiscard to dontdiscard - Add some libm functions, e.g. lgamma, nan, etc. - Change intmax_t from int128 to int64 like everything else - Introduce %jjd formatting directive for int128_t - Introduce strtoi128(), strtou128(), etc. - Rename bsrmax() to bsr128() Some of the templates that should be working currently are std::vector, std::string, std::map, std::set, std::deque, etc.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
#-*-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───────────────────────┘
|
|
|
|
PKGS += LIBC
|
|
|
|
LIBC_HDRS = $(filter %.h,$(LIBC_FILES))
|
|
LIBC_INCS = $(filter %.inc,$(LIBC_FILES))
|
|
LIBC_FILES := $(wildcard libc/*)
|
|
LIBC_CHECKS = $(LIBC_HDRS:%=o/$(MODE)/%.ok)
|
|
|
|
.PHONY: o/$(MODE)/libc
|
|
o/$(MODE)/libc: o/$(MODE)/libc/alg \
|
|
o/$(MODE)/libc/bits \
|
|
o/$(MODE)/libc/calls \
|
|
o/$(MODE)/libc/crt \
|
|
o/$(MODE)/libc/dns \
|
|
o/$(MODE)/libc/elf \
|
|
o/$(MODE)/libc/fmt \
|
|
o/$(MODE)/libc/intrin \
|
|
o/$(MODE)/libc/linux \
|
|
o/$(MODE)/libc/log \
|
|
o/$(MODE)/libc/mem \
|
|
o/$(MODE)/libc/nexgen32e \
|
|
o/$(MODE)/libc/nt \
|
|
o/$(MODE)/libc/rand \
|
|
o/$(MODE)/libc/runtime \
|
|
o/$(MODE)/libc/sock \
|
|
o/$(MODE)/libc/stdio \
|
|
o/$(MODE)/libc/str \
|
|
o/$(MODE)/libc/stubs \
|
|
o/$(MODE)/libc/sysv \
|
|
o/$(MODE)/libc/testlib \
|
|
o/$(MODE)/libc/thread \
|
|
o/$(MODE)/libc/time \
|
|
o/$(MODE)/libc/tinymath \
|
|
o/$(MODE)/libc/unicode \
|
|
o/$(MODE)/libc/x \
|
|
o/$(MODE)/libc/zipos \
|
|
$(LIBC_CHECKS)
|