site  contact  subhomenews

uClibc cli rootfs

March 19, 2011 — BarryK
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/archive/blog2/201103/uclibc-buildroot.html

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

Comments

uclibc++ patches
Username: technosaurus
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.

Re uclibc++
Username: BarryK
"technosaurus, Interesting, I will have a play with aboriginal. Note that Buildroot does not use uClibc++, it uses the full libstdc++ from gcc.


Tags: quirky