Libmodplug Extension for Tiny Core 14.x x86: TC3 extension: http://www.tinycorelinux.net/3.x/tcz/src/libmodplug/ http://www.tinycorelinux.net/3.x/tcz/libmodplug.tcz.list * Install extensions: compiletc squashfs-tools * export CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe" LDFLAGS="-Wl,-O1" * ./configure --prefix=/usr/local * make * sudo make DESTDIR=/tmp/libmodplug install-strip * split /tmp/libmodplug into directories: libmodplug-dev libmodplug * sudo chown -R root:root libmodplug* * In each dir. run "find usr ! -type d | sed "s/^/\//g" > ../libmodplug.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 libmodplug libmodplug.tcz "md5sum libmodplug.tcz > libmodplug.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 * Make libmodplug.tcz.dep: $ ldd /tmp/libmodplug/usr/local/lib/libmodplug.so.1.0.0 No deps * Copy libmodplug.tcz (+ dep, md5) to "tce/optional". * tce-load -i libmodplug