tce-load -i compiletc readline-dev

wget https://github.com/hunspell/hunspell/files/2573619/hunspell-1.7.0.tar.gz

cd hunspell-1.7.0

edit src/tools/hunspell.cxx
#define LIBDIR                \
  "/usr/share/hunspell:"      \
  "/usr/local/share/hunspell:"      \
  "/usr/share/myspell:"       \
  "/usr/local/share/myspell:"       \
  "/usr/share/myspell/dicts:" \
  "/usr/local/share/myspell/dicts:" \

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --with-ui --with-readline

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make [0m 21.00s]
sudo make install

edit /usr/local/bin/ispellaff2myspell
#!/usr/local/bin/perl -w



