Support for musl libc?
Closed this issue · 4 comments
Would you consider support for musl libc? (or be open to PRs that added support for it?)
(I actually love using ctypes.sh - it's.. actually really good.)
What doesn't work with musl libc?
Would be more than happy to get PRs, or help fix whatever is broken.
Here are some of the things currently preventing compiling against musl.
Location | Issue |
---|---|
Line 44 in 091e644 |
no __always_inline in musl (could use __attribute__ ((__always_inline__)) ?) |
Line 61 in 091e644 |
" |
Line 75 in 091e644 |
" |
Line 106 in 091e644 |
" |
Lines 24 to 32 in 091e644 |
no __WORDSIZE in musl |
ctypes.sh/src/struct/dwarves_fprintf.c Line 1913 in 091e644 |
no _SC_LEVEL1_DCACHE_LINESIZE in musl |
I could start to take a stab at some of these, make a preliminary PR? I'm sure I'm gonna end up taking you up on that offer for help at some point along the way here.. :)