tce-load -i compiletc git automake libtool-dev intltool gettext-dev git clone https://github.com/laurikari/tre cd tre ./utils/autogen.sh 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 --prefix=/usr/local --disable-static --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 2.56s] sudo make install * Compilation environment CC = gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe CFLAGS = -g -O2 -Wall CPP = gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -E CPPFLAGS = LD = /usr/local/bin/ld -m elf_x86_64 LDFLAGS = LIBS = Use alloca(): yes * TRE options Development-time debugging: no System regex ABI compatibility: no Wide character (wchar_t) support: yes Multibyte character set support: yes Approximate matching support: yes Build and install agrep: yes