Re:liblinux: Architecture-independent access to Linux system...
by matheusmoreira on Tuesday November 09, 2021 @08:21AM
(#29161353)
Yes. My next step was implementing modern ARM architectures at least so I could compile a version for my phone. I don't have other architectures to test on so I'd need pull requests for them.
The Linux kernel nolibc.h already has support and is just better in almost every way. I wasn't sure if there was any point in continuing liblinux after I discovered it since it achieves almost everything I tried to do and doesn't even require a build system, shared libraries or anything. The support for auxiliary values is missing though. Maybe they'd accept a patch...?
I also asked Greg on reddit about nolibc.h once:
https://old.reddit.com/r/linux/comments/fx5e4v/im_greg_kroah...
Turns out there was a klibc project that never turned up in my original research!
> Currently, the only supported architecture and compiler is x86_64 and GCC, respectively
Let's wait until its architecture-independence has arrived in practice.