Thursday, March 26, 2009

uClibc; iCprogress

uClibc is a C99 C library that is made to be easily portable, lightweight, and easily built. It's designed for embedded systems, so it was made with size in mind. I recently ported uClibc v0.9.30.1 to my experimental OS called E/OS. Since then, I've really been enjoying the full formatting support of printf/sprintf (using custom wrappers for 80x25 text mode). I had ported PDPClib before (which was a breeze to port), but it had A: less-than-impressive formatting support, B: no C99 compliance, and C: buggy mathematical functions that lead to deadlocking.

With this new library setup, it will be much easier to get *nix applications ported over. I have no intention of designing a *nix-clone, but getting self-hosted (an environment where a user can create programs for the host) is a big deal and GCC/NASM can really help out there.

I just started commiting the new library port to my SVN repository at googlecode, and it has given me nothing but trouble. I added the entire library (~10MB), but I kept getting a "gateway not found" error. I finally had to un-add some of the library and upload it chunk by chunk.

I have an interview tomorrow about a network administrator job position at a local college. Hopefully that goes well.

Night.

No comments:

Post a Comment