while I haven't been working on my own OS for a while, I'm now finding myself in the situation where I need to provide a C standard library for a platform that doesn't already have one. Since I'm not confident enough with the details of C, my preferred choice would be to port an existing one, and the first library that came to my mind was PDCLIB (mainly because of the licensing flexibility it allows - I don't know which license the whole project will be put under). However, it seems that PDCLIB kind of vanished - it's webpage (http://pdclib.e43.eu/) just shows Owen Shepherd's homepage, and the PDCLIB-link just links to the same page. I've been unable to find the repository or any sign of life from PDCLIB so far (apart from what seems to be a mirror-repository on GitHub).
Now the question is: Is PDCLIB alive? And if it is, can it already be used to port libraries (like SDL or libpng for example) and programs?
I also tried to look for alternatives, and here's what I found so far (please feel free to correct me if I got something wrong):
glibc: Seems to be heavily based on POSIX and unixoid systems (my platform isn't a unix), probably hard to port, license problem (LGPL)
newlib: I just took a quick look and backed off when I saw the license chaos
dietlibc: License problem (GPL)
musl: Seems to be too Linux-specific
Bionic:Probably too Linux-specific (also there's the GPL-header-controversy)
I haven't been able to take a very detailed look at all of them yet. Is there anything you can recommend?
Also, here's some information about my target platform: It does have an MMU and it's running a small Kernel (not unixoid/POSIX), but only a single program can run at any given time (although it can have multiple threads). Memory management (including malloc/free-like functions) is already in place. Porting a number of libraries (SDL, zlib, maybe lwip) will be required. The compiler currently used is clang.
I'm sorry I can't go into details here and really hope that you have a tip for me
