tce-load -i compiletc ncurses-dev http://deb.debian.org/debian/pool/main/m/minicom/minicom_2.7.1.orig.tar.gz cd minicom-2.7.1 edit configure for termlib in tinfo ncursesw curses termcap terminfo termlib ; do LIBS="-L/usr/local/lib -lncursesw" CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 13.35s] sudo make install