• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • The forum software that supports hummy.tv has been upgraded to XenForo 2.0!

    This is a major upgrade which changes the look and feel of the forum somewhat but brings a host of improvements too. Please bear with us as we continue to tweak things and report any issues or suggestions in Site/Forum Issues.

Full libc?

#1
Would it be possible to include a full libc into the ROM fs?

I am asking because I am fiddling with flvstreamer, and it does not seem to work with libuc. However, I can use the binary from debian mipsel linked against the standard libc, and it works fine! Only setting up libc (and especially ld.so) on a read-only file system is a bit of a pain, hence the question.

Being able to run packages from Debian (stable in this case) might be quite a useful option for some of the more obscure tools.
 

af123

Administrator
Staff member
#3
It would be possible but it isn't really suitable for the embedded environment. uClibc is optimised for it and should work with almost anything.

To quote from the uClibc FAQ http://uclibc.org/FAQ.html#why

To quote from Ulrich Drepper, the maintainer of GNU libc: "...glibc is not the right thing for [an embedded OS]. It is designed as a native library (as opposed to embedded). Many functions (e.g., printf) contain functionality which is not wanted in embedded systems."