tce-load -lwi compiletc curl squashfs-tools
wget -O- https://repo.or.cz/tinycc.git/snapshot/d1c107738b0f85c80cbe7cb859cb8ade6bd1ce16.tar.gz | tar -xzvf -
cd tinycc-d1c1077/
#--elfinterp is only needed for x64 tinycore, to avoind linking to /lib64/
./configure --elfinterp=/lib/ld-linux-x86-64.so.2 --disable-static --extra-cflags="-mtune=generic -Os -pipe"
make -j8
mkdir /tmp/tcc_tmp
make DESTDIR=/tmp/tcc_tmp install
find /tmp/tcc_tmp -exec strip -s {} \;
mksquashfs /tmp/tcc_tmp ../tcc.tcz
