user: implement mlibc as the libc, finally.

It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
kaguya
2026-05-02 03:31:49 -04:00
parent 2fa39ad85a
commit 9a9b91c940
2387 changed files with 152741 additions and 315 deletions
@@ -0,0 +1,37 @@
if not bsd_option
subdir_done()
endif
libc_sources += files(
'generic/arpa-nameser.cpp',
'generic/ether.cpp',
'generic/getopt.cpp',
'generic/bsd_stdlib.cpp',
'generic/pty.cpp',
)
if not no_headers
install_headers(
'include/fstab.h',
'include/pty.h',
'include/utmp.h',
)
install_headers(
'include/arpa/nameser.h',
'include/arpa/nameser_compat.h',
subdir: 'arpa'
)
install_headers(
'include/sys/queue.h',
subdir: 'sys'
)
install_headers(
'include/netinet/ether.h',
subdir: 'netinet'
)
install_headers(
'include/bits/bsd/bsd_stdlib.h',
'include/bits/bsd/bsd_unistd.h',
subdir: 'bits/bsd'
)
endif