tce-load -i compiletc libsndfile-dev nasm ncursesw-dev cd lame-3.100 edit configure for ac_header in ncursesw/termcap.h ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/termcap.h" "ac_cv_header_ncurses_termcap_h" "$ac_includes_default" sudo ln -s /tmp/tcloop/ncursesw/usr/local/lib/libncursesw.so.6.0 libncurses.so CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-mp3rtp --with-fileio=sndfile find . -name Makefile.unix -type f -exec sed -i 's/-O3//g' {} \; find . -name Makefile.unix -type f -exec sed -i 's/-g3//g' {} \; find . -name Makefile.unix -type f -exec sed -i 's/-lncurses/-lncursesw/g' {} \; make sudo make install