tce-load -i compiletc pcre-dev wget https://downloads.sourceforge.net/swig/swig-3.0.12.tar.gz cd swig-3.0.12 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --without-clisp --without-maximum-compile-warnings find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 32.15s] sudo make install The SWIG test-suite and examples are configured for the following languages: lua perl5 python tcl