x86 extension build script here: http://tinycorelinux.net/9.x/x86/tcz/src/protobuf/protobuf.build * Install extensions: compiletc squashfs-tools libtool-dev Get latest protobuf-cpp release from: https://github.com/protocolbuffers/protobuf/releases/ * export CFLAGS="-mtune=generic -Os -pipe" CXXFLAGS="-mtune=generic -Os -pipe" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig * ./configure --prefix=/usr/local * make - Slow * sudo make DESTDIR=/tmp/protobuf install-strip * split /tmp/protobuf into protobuf-dev protobuf * In each dir. run "find usr ! -type d | sed "s/^/\//g" > ../protobuf.tcz.list". - for dir in `find -maxdepth 1 -mindepth 1 -type d`; do cd $dir; find usr ! -type d | sed "s/^/\//g" > ../$dir.tcz.list; cd ..; done * Make into extensions using mksquashfs. "mksquashfs protobuf protobuf.tcz "md5sum protobuf.tcz > protobuf.tcz.md5.txt" etc... - for dir in `find -maxdepth 1 -mindepth 1 -type d`; do mksquashfs $dir ${dir#./}.tcz; md5sum ${dir#./}.tcz > ${dir#./}.tcz.md5.txt; done