uClibc cli rootfs

A uClibc rootfs that you can mount and chroot into, and compile cli packages. Mostly useful for creating small static executables. See my previous post:
http://bkhome.org/blog/?viewDetailed=02188

Buildroot has a bug, it left out /usr/lib/crt0.o, crti.o, crtn.o, and libc.so. I have put those in and I did a test compile of udev-151 source, works.

I have re-uploaded the working rootfs here (27.5MB):
http://distro.ibiblio.org/quirky/developer/uclibc-rootfs/rootfs-uclibc-201103.ext2.gz

Instructions:
http://distro.ibiblio.org/quirky/developer/uclibc-rootfs/rootfs-uclibc-readme


Posted on 19 Mar 2011, 17:57


Comments:

Posted on 20 Mar 2011, 8:54 by technosaurus
uclibc++ patches
here are some uclibc++ patches, it makes C++ apps ~10% smaller and is 1/10th the size of libstdc++

https://dev.openwrt.org/browser/packages/libs/uclibc%2B%2B/patches?rev=25853

landley.net/hg/aboriginal/file/5e22b534839a/sources/patches/

git.alpinelinux.org/cgit/aports.git/tree/main/uclibc++

they are good sources for other patches too.


Posted on 21 Mar 2011, 18:02 by BarryK
Re uclibc++
technosaurus,
Interesting, I will have a play with aboriginal.

Note that Buildroot does not use uClibc++, it uses the full libstdc++ from gcc.