tce-load -i compiletc perl5 ncursesw-dev cd aspell-0.60.6.1 sed -i '/ top.do_check ==/s/top.do_check/*&/' modules/filter/tex.cpp sed -i '/word ==/s/word/*&/' prog/check_funs.cpp edit interfaces/cc/aspell.h to surround the error block starting line 237: #ifndef __cplusplus extern const struct AspellErrorInfo * const aerror_other; ...snip... extern const struct AspellErrorInfo * const aerror_invalid_expression; #endif CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --localstatedir=/var --disable-static [-fno-ftti fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 28.67s] sudo make install sudo install -m 755 scripts/ispell /usr/local/bin/ sudo install -m 755 scripts/spell /usr/local/bin/