# first install powerpc64 gcc-8 cross-compiler
apt-get install gcc-8-powerpc64-linux-gnu
+# it your responsibility to check that the archive downloaded below is
+# uncompromised!
+
runuser $SUDO_USER --preserve-environment -c '
cd /home/$SUDO_USER
mkdir -p src
make
'
cd /home/$SUDO_USER/src/gdb-8.3/build
-make -n install
+make install
echo -e "
\e[1;91mCross-compiled GDB 8.3 and compiler now installed.\e[0m
"