Advcpmv for TC15 x86_64 * Install extensions: compiletc squashfs-tools * wget ftp://ftp.gnu.org/gnu/coreutils/coreutils-9.5.tar.xz * wget https://raw.githubusercontent.com/jarun/advcpmv/master/advcpmv-0.9-9.5.patch * xz -d -c coreutils-9.5.tar.xz | tar xv * cd coreutils-9.5 * patch -p1 -i ../advcpmv-0.9-9.5.patch * export CFLAGS="-mtune=generic -Os -fno-asynchronous-unwind-tables -flto -fuse-linker-plugin -pipe" CXXFLAGS="-mtune=generic -Os -fno-asynchronous-unwind-tables -flto -fuse-linker-plugin -fno-exceptions -fno-rtti -pipe" LDFLAGS="-Wl,-O1" PKG_CONFIG_PATH=/usr/local/lib/pkgconfig * ./configure --prefix=/usr/local --disable-acl --disable-xattr --disable-libcap * make * mkdir -p ../../advcpmv_ext/advcpmv/usr/local/bin * src/cp -g src/mv ../../advcpmv_ext/advcpmv/usr/local/bin/advmv * src/cp -g src/cp ../../advcpmv_ext/advcpmv/usr/local/bin/advcp * cd ../../advcpmv_ext/ * strip advcpmv/usr/local/bin/* * sudo chown -R root:root advcpmv * In each dir. run "find usr ! -type d | sed "s/^/\//g" > ../advcpmv.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 advcpmv advcpmv.tcz "md5sum advcpmv.tcz > advcpmv.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 * No deps * Copy advcpmv.tcz (+ dep, md5) to "tce/optional". * tce-load -i advcpmv