tce-load -i bzip2-dev readline-dev cd pcre2-10.22 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 --enable-unicode-properties --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-libz --enable-pcre2grep-libbz2 --enable-pcre2test-libreadline find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make make install pcre2-10.22 configuration summary: Install prefix .................. : /usr/local C preprocessor .................. : gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -E C compiler ...................... : gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe Linker .......................... : /usr/local/bin/ld -m elf_x86_64 C preprocessor flags ............ : C compiler flags ................ : -g -O2 -fvisibility=hidden Linker flags .................... : Extra libraries ................. : Build 8-bit pcre2 library ....... : yes Build 16-bit pcre2 library ...... : yes Build 32-bit pcre2 library ...... : yes Include debugging code .......... : no Enable JIT compiling support .... : no Enable Unicode support .......... : yes Newline char/sequence ........... : lf \R matches only ANYCRLF ......... : no \C is disabled .................. : no EBCDIC coding ................... : no EBCDIC code for NL .............. : n/a Rebuild char tables ............. : no Use stack recursion ............. : yes Internal link size .............. : 2 Nested parentheses limit ........ : 250 Match limit ..................... : 10000000 Match limit recursion ........... : MATCH_LIMIT Build shared libs ............... : yes Build static libs ............... : no Use JIT in pcre2grep ............ : no Enable callouts in pcre2grep .... : yes Buffer size for pcre2grep ....... : 20480 Link pcre2grep with libz ........ : yes Link pcre2grep with libbz2 ...... : yes Link pcre2test with libedit ..... : no Link pcre2test with libreadline . : yes Valgrind support ................ : no Code coverage ................... : no