tce-load -i compiletc git ncurses-dev

git clone https://github.com/dkastner/sc

cd sc

edit Makefile
prefix=/usr/local
CC=gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe
CFLAGS=-DSYSV3
LIB=-lm -lncurses -ltinfo

make
sudo make install