tce-load -i compiletc mpc-dev isl-dev readline-dev texinfo wget https://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.xz cd gdb-10.2 mkdir build cd build CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" ../configure --prefix=/usr/local --localstatedir=/var --with-system-readline [-fno-exceptions -fno-rtti fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-O2 -g//g' {} \; make [54m 9.44s sudo make -C gdb install