tce-load -i compiletc gtk2-dev http://ftp.nluug.nl/pub/editors/ted/ted-2.23.src.tar.gz cd Ted-2.23 find . -name makefile.in -type f -exec sed -i 's/-g -O2//g' {} \; find . -name configure -type f -exec sed -i 's/-g -O2//g' {} \; find . -name configure -type f -exec sed -i 's/-O2//g' {} \; make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" CONFIGURE_OPTIONS="--prefix=/usr/local" compile.shared [1m 54.53s] sudo make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" CONFIGURE_OPTIONS="--prefix=/usr/local" install.shared