mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Improve cosmocc / cosmoc++ toolchains
They'll now automatically create empty static archives for system libraries that are provided by Cosmopolitan Libc. This helps make configure scripts less confused. Musl does the same thing.
This commit is contained in:
parent
a277170c9a
commit
b850b14300
4 changed files with 78 additions and 8 deletions
|
@ -172,6 +172,16 @@
|
|||
"uint128_t"
|
||||
"axdx_t"))
|
||||
|
||||
(linux
|
||||
'("i8"
|
||||
"u8"
|
||||
"i16"
|
||||
"u16"
|
||||
"i32"
|
||||
"u32"
|
||||
"i64"
|
||||
"u64"))
|
||||
|
||||
(x86intrin
|
||||
'("__v8hu"
|
||||
"__v16qi"
|
||||
|
@ -218,6 +228,7 @@
|
|||
gnu
|
||||
cxx17
|
||||
cosmo
|
||||
linux
|
||||
x86intrin))
|
||||
"\\_>")))
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
;; M-4 C-c C-c Compile w/ MODE=dbg
|
||||
;; M-5 C-c C-c Compile w/ MODE=""
|
||||
;; M-7 C-c C-c Compile w/ MODE=tinylinux
|
||||
;; M-8 C-c C-c Compile w/ llvm
|
||||
;; M-8 C-c C-c Compile w/ clang tsan
|
||||
;; M-9 C-c C-c Compile w/ chibicc
|
||||
|
||||
(defun cosmo-intest (&optional file-name)
|
||||
|
@ -166,7 +166,7 @@
|
|||
((eq arg 5) "")
|
||||
((eq arg 6) "optlinux")
|
||||
((eq arg 7) "tinylinux")
|
||||
((eq arg 8) "llvm")
|
||||
((eq arg 8) "tsan")
|
||||
(default default)
|
||||
((cosmo-intest) "dbg")
|
||||
(t "fastbuild")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue