tce-load -i compiletc mpc-dev readline-dev texinfo isl-dev python3.14-dev wget https://ftpmirror.gnu.org/gdb/gdb-17.1.tar.xz cd gdb-17.1 sudo ln -s /tmp/tcloop/ncursesw-dev/usr/local/include/ncursesw/* /usr/local/include mkdir build cd build CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe" ../configure --prefix=/usr/local --localstatedir=/var --with-system-readline --with-system-zlib --with-python=/usr/local/bin/python3 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 [22m 53.57s] sudo make -C gdb install sudo make -C gdbserver install