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=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -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 checking for makeinfo... makeinfo MiscXS.c: loadable library and perl binaries are mismatched (got handshake key 0x9f00080, needed 0xa380080) checking for expect... no